Skip to content

Commit

Permalink
Merge pull request #8 from codescalers/fix-invald-command-typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
Eslam-Nawara authored Nov 12, 2023
2 parents bbda35e + 0ea7444 commit 970b81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (bot Bot) Start() {
case "stop":
bot.removeChan <- update.FromChat().ID
default:
msg := tgbotapi.NewMessage(update.FromChat().ID, "Invald Command")
msg := tgbotapi.NewMessage(update.FromChat().ID, "Invalid Command")
if _, err := bot.botAPI.Send(msg); err != nil {
log.Print(err)
}
Expand Down

0 comments on commit 970b81d

Please sign in to comment.