torikushiii / hoyolab-auto

Auto check-in and others for any Hoyoverse games
https://ko-fi.com/torikushiii
GNU Affero General Public License v3.0
98 stars 23 forks source link

Discord bot is offline #11

Closed djdoolky76 closed 4 months ago

djdoolky76 commented 4 months ago

When I try to set the discord platform to "true" my discord bot is still offline after running the script, but the rest is fine

image

torikushiii commented 4 months ago

~did you tried restarting the script again, sometimes Discord does not connect properly.~

actually can you try the latest commit? I think its because I forgot to add an await function to discord login

djdoolky76 commented 4 months ago

~did you tried restarting the script again, sometimes Discord does not connect properly.~

actually can you try the latest commit? I think its because I forgot to add an await function to discord login

I will give you a result later

djdoolky76 commented 4 months ago

~did you tried restarting the script again, sometimes Discord does not connect properly.~

actually can you try the latest commit? I think its because I forgot to add an await function to discord login

Update: I got an error on the new update, but it works fine when I set the discord platform to false. Discord Webhooks are fine as well. I'm still looking forward to the discord bot functionality hopefully, it will get fixed

image

torikushiii commented 4 months ago

that error means that your bot doesn't have the one of the following intents permissions:

did you enable these options for your bot at your Discord Developer Applications ? image

djdoolky76 commented 4 months ago

that error means that your bot doesn't have the one of the following intents permissions:

  • Guilds
  • GuildsMessages
  • MessageContents

did you enable these options for your bot at your Discord Developer Applications ? image

image

it finally works now, thanks for the help. I forgot that I need to enable this option, my skill issue 😁 I'm going to close this issue as the case is solved