discord: apparently bot has to be capitalized now

This commit is contained in:
Chris Sexton 2021-02-04 19:41:01 -05:00 committed by Chris Sexton
parent 8f391ee7bc
commit 001a04d186
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ type Discord struct {
} }
func New(config *config.Config) *Discord { 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 { if err != nil {
log.Fatal().Err(err).Msg("Could not connect to Discord") log.Fatal().Err(err).Msg("Could not connect to Discord")
} }