Implement native Apple.Py support for the report
command
#245
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.
This slash command takes a reported user and an optional user and sends it to an assigned reports channel (and pings staff, if the role is provided in /settings). A button is also added to the message in the reports channel to allow for a staff member to show that they completed the report.
Table
guild_settings
will need to be altered to add the following columns:report_channel_id (BIGINT)
staff_role_id (BIGINT)
It would be nice to have the settings page use a channel and role select input rather than just text, but I don't think the vbu settings util allows for that.
Yeehaw.