aichaos / rivescript-go

A RiveScript interpreter for Go. RiveScript is a scripting language for chatterbots.
https://www.rivescript.com/
MIT License
60 stars 16 forks source link

Wrong params in bot.rs.Configure. #23

Closed pepelazz closed 7 years ago

pepelazz commented 7 years ago

In case when create custom SessionManager. Condition in this string doesn't work, because here pass default param.

Must be: bot.rs.Configure(cfg.Debug, cfg.Strict, cfg.UTF8, cfg.Depth, cfg.SessionManager)