Don't use the CaseSensitive RiveScript option
This commit is contained in:
parent
2b9b23f37a
commit
89f3937da8
|
@ -65,8 +65,7 @@ func (c *Client) SetupChatbot() error {
|
||||||
var handler = &BotHandlers{
|
var handler = &BotHandlers{
|
||||||
client: c,
|
client: c,
|
||||||
rs: rivescript.New(&rivescript.Config{
|
rs: rivescript.New(&rivescript.Config{
|
||||||
UTF8: true,
|
UTF8: true,
|
||||||
CaseSensitive: true,
|
|
||||||
}),
|
}),
|
||||||
autoGreet: map[string]time.Time{},
|
autoGreet: map[string]time.Time{},
|
||||||
messageBuf: []messages.Message{},
|
messageBuf: []messages.Message{},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user