readme: Fix non-compiling example (#258)

This commit is contained in:
bumbread 2021-08-09 09:02:11 +11:00 committed by GitHub
parent 2bc4bb656f
commit c780d474d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ func main() {
bot.Run(os.Getenv("DISCORD_TOKEN"), &Bot{},
func(ctx *bot.Context) error {
ctx.HasPrefix = bot.NewPrefix("!")
return nil
},
)
}