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
The ban or unban action still goes through, but Dictator is unable to retrieve the member object, so an error is thrown. The member object is necessary to message the effected user and to log the action in the logging channel.
This whole section needs a good refactor due to high code duplication and becoming generally spaghetti. Recent additions of functionality for life IDs aided in this, but is not perfect.
I'm still not sure about the future of Dictator. It is in a bit of disrepair due to this.
connorhsm
changed the title
User not in guild that is banned or unbanned from the game the game throws an error.
User not in guild that is banned or unbanned from the game throws an error.
May 24, 2022
The ban or unban action still goes through, but Dictator is unable to retrieve the member object, so an error is thrown. The member object is necessary to message the effected user and to log the action in the logging channel.
This whole section needs a good refactor due to high code duplication and becoming generally spaghetti. Recent additions of functionality for life IDs aided in this, but is not perfect.
I'm still not sure about the future of Dictator. It is in a bit of disrepair due to this.
dictator/dictator/cogs/moderation.py
Line 46 in e23e4f2
dictator/dictator/cogs/moderation.py
Line 103 in e23e4f2
This likely will not be fixed.
The text was updated successfully, but these errors were encountered: