-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cleanup code #103
base: master
Are you sure you want to change the base?
fix: cleanup code #103
Conversation
Why should this be a module? |
elif isinstance(error, MissingRole): | ||
role = ctx.guild.get_role(int(error.missing_role)) # type: ignore | ||
await ctx.send(f'"{role.name}" is required to use this command.') # type: ignore | ||
else: |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I simply transferred the current error handler, half out of scope even though this entire PR is quite feature/fix creep
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
All the code in one encapsulated place, who get main.py lost in config and meta files when it can be in one place |
…liver1/fix/cleanup
Plans:
_
for unused variables