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{
|
||||
client: c,
|
||||
rs: rivescript.New(&rivescript.Config{
|
||||
UTF8: true,
|
||||
CaseSensitive: true,
|
||||
UTF8: true,
|
||||
}),
|
||||
autoGreet: map[string]time.Time{},
|
||||
messageBuf: []messages.Message{},
|
||||
|
|
Loading…
Reference in New Issue
Block a user