Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #553
This PR fixes several issues, and proposes the removal of the
delete_after
parameter in all moderation and config commands.Fixes & improvements:
ctx.defer()
to mod commands that take a while to process, to output "bot is thinking..." while waiting.asyncio.gather()
to some commands, allowing it to process multiple async actions at the same time.PLR0911
quality assurance (too many return statements)config.py
to implementinteraction.followup.send
instead ofinteraction.response.send_message
Remove self-deletion is ephemeral commands:
delete_after
parameter is removed in the moderation outputs, they are already ephemeral if used as Slash Command. Additionally, the same counts for output fromconfig.py
- they are all exclusively ephemeral interaction commands.