From 001a04d1864cb51251d683d8fe28da2017bfae0e Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Thu, 4 Feb 2021 19:41:01 -0500 Subject: [PATCH] discord: apparently bot has to be capitalized now --- connectors/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectors/discord/discord.go b/connectors/discord/discord.go index 773fa99..7a8e232 100644 --- a/connectors/discord/discord.go +++ b/connectors/discord/discord.go @@ -24,7 +24,7 @@ type Discord struct { } func New(config *config.Config) *Discord { - client, err := discordgo.New("bot " + config.Get("DISCORDBOTTOKEN", "")) + client, err := discordgo.New("Bot " + config.Get("DISCORDBOTTOKEN", "")) if err != nil { log.Fatal().Err(err).Msg("Could not connect to Discord") }