1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-29 13:48:53 +00:00

readme: Fix non-compiling example (#258)

This commit is contained in:
bumbread 2021-08-09 09:02:11 +11:00 committed by diamondburned
parent b1cae78096
commit 3753794fad

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