From 3753794fad471e253792accfc51df77d04c29df8 Mon Sep 17 00:00:00 2001 From: bumbread Date: Mon, 9 Aug 2021 09:02:11 +1100 Subject: [PATCH] readme: Fix non-compiling example (#258) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4538bad..12f380d 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ func main() { bot.Run(os.Getenv("DISCORD_TOKEN"), &Bot{}, func(ctx *bot.Context) error { ctx.HasPrefix = bot.NewPrefix("!") + return nil }, ) }