Quellcode durchsuchen

Merge pull request #460 from spencer1573/patch-1

added clarification when initializing discordgo
Bruce vor 7 Jahren
Ursprung
Commit
73f6772a2b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      README.md

+ 1 - 1
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.
 Discord API functions and to set callback functions for Discord events.
 
 
 ```go
 ```go
-discord, err := discordgo.New("authentication token")
+discord, err := discordgo.New("Bot " + "authentication token")
 ```
 ```
 
 
 See Documentation and Examples below for more detailed information.
 See Documentation and Examples below for more detailed information.