Crashes #688
-
The bot crashes when it turns out to be under other discord roles. For example after doing .stats the bot fails to send the message despite all its permissions and crashes. Here is the error:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Please put the steps on how to reproduce this bug |
Beta Was this translation helpful? Give feedback.
-
As Darren said,provide more info about this crash :) |
Beta Was this translation helpful? Give feedback.
-
The bot has the default permissions already present in the code and on the discord developer portal, all 3 intent options are active. To reproduce the bug just put the role of the bot under all and run the command .stats . I don't know how to explain since it doesn't happen in all servers but only in some. It seems that without a .catch the bot crashes |
Beta Was this translation helpful? Give feedback.
-
Maybe someone invited bot with invalid permissions? |
Beta Was this translation helpful? Give feedback.
-
The Problem is the following: instead of using &scope=bot you need to use The Problem here is that the Script tries to add / (Slash-Commands) which it doesnt have perms for. The Scope is missing on the URL. |
Beta Was this translation helpful? Give feedback.
-
would be the correct link |
Beta Was this translation helpful? Give feedback.
The Problem is the following:
instead of using &scope=bot you need to use
&scope=applications.commands%20bot
The Problem here is that the Script tries to add / (Slash-Commands) which it doesnt have perms for. The Scope is missing on the URL.