@@ -25,7 +25,7 @@ func NewHelpBotState(bot *tgbot.BotAPI, dataBase *db.DB) states.BotState {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *helpBotState) Do(text string, chatInfo *db.ChatInfo, username string) error {
|
||||
func (s *helpBotState) Do(text string, chatInfo *db.ChatInfo) error {
|
||||
if !slices.Contains(names, text) {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user