Change token env variable
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
Dustin Pianalto 2021-01-19 01:56:56 -09:00
parent 3e77b98be4
commit 9436a4385f

View File

@ -12,7 +12,7 @@ import (
)
func main() {
Token := os.Getenv("DISCORDGO_TOKEN")
Token := os.Getenv("DISCORD_TOKEN")
dg, err := discordgo.New("Bot " + Token)
if err != nil {
log.Println("There was an error when creating the Discord Session, ", err)