This commit is contained in:
parent
3e77b98be4
commit
9436a4385f
@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
Token := os.Getenv("DISCORDGO_TOKEN")
|
Token := os.Getenv("DISCORD_TOKEN")
|
||||||
dg, err := discordgo.New("Bot " + Token)
|
dg, err := discordgo.New("Bot " + Token)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("There was an error when creating the Discord Session, ", err)
|
log.Println("There was an error when creating the Discord Session, ", err)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user