Added state interface for customizing

This commit is contained in:
2023-01-20 01:44:35 +03:00
parent 1a8decf4d4
commit 3a06ae5f0e
2 changed files with 5 additions and 5 deletions

2
bot.go
View File

@ -15,7 +15,7 @@ type bot struct {
echo.API
data StateData
lock sync.Mutex
state *State
state Runnable
}
func (b *bot) Update(u *echo.Update) {