1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-01-06 20:16:59 +00:00

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

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
},
)
}