started adding user info

This commit is contained in:
2024-04-03 15:04:57 +02:00
parent 12e65345a2
commit a1849bbde4
4 changed files with 243 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ var cmd_ping Command = Command{
Timeout: 5 * time.Second,
}
resp, err := client.Get("https://discord.com/api/v9/gateway/bot")
resp, err := client.Get("https://discord.com/api/" + discordgo.APIVersion + "/gateway/bot")
if err != nil {
logrus.Error(err)
return