You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to make a bot that will send an info message, setting the thumbnail to the icon of the bot. However, in my message call back when I try access the fields or members of the discordgo.State.Application struct I find that all of them apart from id and flags and set to either an empty string or null and I'm wondering why this is the case. My bot definitely has an icon, a name and these still give me empty strings. I have enabled all intents on discord developer portal and tried manually setting all intents in discordgo too with bot.Identify.Intents |= discordgo.AllIntents
Hello, new Go programmer here.
I am attempting to make a bot that will send an info message, setting the thumbnail to the icon of the bot. However, in my message call back when I try access the fields or members of the
discordgo.State.Application
struct I find that all of them apart fromid
andflags
and set to either an empty string ornull
and I'm wondering why this is the case. My bot definitely has an icon, a name and these still give me empty strings. I have enabled all intents on discord developer portal and tried manually setting all intents in discordgo too withbot.Identify.Intents |= discordgo.AllIntents
Can anyone help? My code is below:
The text was updated successfully, but these errors were encountered: