From 42f1f24287bcba5a18df8fd14ea60150ef5786a2 Mon Sep 17 00:00:00 2001 From: Spencer Davies Date: Thu, 19 Oct 2017 23:47:14 -0600 Subject: [PATCH] added clarification when initializing discordgo from the code I ran on my system with the latest changes this seems to be the syntax for the authentication tokens. I'm guessing it was just never updated. Let me know if this is incorrect. Thanks! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb9f14f04..acc72bf11 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Construct a new Discord client which can be used to access the variety of Discord API functions and to set callback functions for Discord events. ```go -discord, err := discordgo.New("authentication token") +discord, err := discordgo.New("Bot " + "authentication token") ``` See Documentation and Examples below for more detailed information.