diff --git a/main.go b/main.go index a3744be..b3d6fce 100644 --- a/main.go +++ b/main.go @@ -20,7 +20,7 @@ var ( db *redis.Client ) -func bot() { +func Bot() { // Setup the session parameters session, err := discordgo.New("Bot " + os.Getenv("BOT_TOKEN")) if err != nil { @@ -114,9 +114,9 @@ func main() { Scan() case "bot": log.Printf("Running bot") - bot() + Bot() default: log.Printf("Running bot (default)") - bot() + Bot() } }