Don't use the CaseSensitive RiveScript option

This commit is contained in:
Noah 2023-08-15 20:49:04 -07:00
parent 2b9b23f37a
commit 89f3937da8

View File

@ -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{},