Fixed the bot channel env var for real this time
parent
67042f1623
commit
c5fea4ba83
|
@ -27,7 +27,7 @@ func init() {
|
||||||
} else {
|
} else {
|
||||||
Session.Token = "Bot " + botToken
|
Session.Token = "Bot " + botToken
|
||||||
}
|
}
|
||||||
if os.Getenv("DISCORD_botChannel") != "" {
|
if os.Getenv("DISCORD_BOT_CHANNEL") != "" {
|
||||||
botChannel = os.Getenv("DISCORD_BOT_CHANNEL")
|
botChannel = os.Getenv("DISCORD_BOT_CHANNEL")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue