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
Here's my code. The status such as online/dnd/idle works fine but whatever i try my bot is just not getting an activity nor any errors
func (b*Bot) onReady(s*discordgo.Session, r*discordgo.Ready) {
configStatus:=b.ConfigStatus// or get it from config// trim leading and trailing whitespace from statusus:=&discordgo.UpdateStatusData{
Activities: []*discordgo.Activity{
{
Name: "something",
Type: discordgo.ActivityTypeGame,
},
},
Status: configStatus, // online/dnd/idle from config < -- this part works fine btw.AFK: false,
}
err:=b.Session.UpdateStatusComplex(*us)
iferr!=nil {
log.Fatalf("error updating status: %v", err)
}
}
The text was updated successfully, but these errors were encountered:
For clarity, are you saying the bot's activity doesn't get updated according to whatever you're posting when you call UpdateStatusComplex?
i was trying to use this feature from a user account as in to give the account a rich presence... but it did not work although it worked for making it stay in a voice channel
Here's my code. The status such as online/dnd/idle works fine but whatever i try my bot is just not getting an activity nor any errors
The text was updated successfully, but these errors were encountered: