-
-
Notifications
You must be signed in to change notification settings - Fork 87
Bug: RichDisplays in DMs Destroy Logs #147
Comments
I strongly believe that issue is caused exactly in this line: klasa/src/lib/util/ReactionHandler.js Line 179 in 1ce5d87
And here aswell: klasa/src/lib/util/ReactionHandler.js Line 332 in 1ce5d87
This issue could be solved by checking permissions. I'll try to add a getter that checks the permissions to solve this issue. |
This is why #149 exists. |
Whilst #149 is probably a Discord Client bug (ratelimits, connection issues...), this is not, this issue is caused by the lack of MANAGE_MESSAGES permission in DM channels. Locking such feature to guilds is a bad idea, and I also wanted to use RichDisplay in DMs for latter projects. |
149 is not because of a discord client bug; it only effects the menu when a reaction is added, which is why manage messages is Required |
Can you elaborate that response, please? I could reproduce 149 only when I had network hiccups or was reacting too fast, and I was able to reproduce this even in guilds with full permissions, not only in DMs nor without permissions. |
Describe the issue
Having a RichDisplay sent in a DM will cause havoc on your logs. The commands work perfectly. The rich display works perfectly. The pages change perfectly. It does everything that it should do but it keeps sending this error to your log for every reaction that clicked. So if a user clicks 2-3 times and you have thousands of users on a popular command it destroys logs.
There should be a way to catch/ignore this error somehow because as I said the command works perfectly. The users have no issues. But the developer logs are insanely spammed.
Code or steps to reproduce
Expected an actual behaviour
Either a workaround or some sort of method to avoid this log is necessary. The only issue here is with the error log and not the RichDisplay or command. All i really need is a way to ignore this error from my console.
Further details
The text was updated successfully, but these errors were encountered: