Skip to content
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

Improve report cog #309

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Improve report cog #309

wants to merge 11 commits into from

Conversation

tigattack
Copy link
Member

@tigattack tigattack commented Feb 21, 2025

Initial Checklist

  • Has @tigattack been added as a reviewer?
  • If applicable, have the relevant project(s), milestone(s), and label(s) been applied?
  • If applicable, have you added details of the cog to the readme as per README.md?

Details

Does this resolve an issue?
Resolves #282
Resolves #42

Changes

Features / Fixes

  • Implements slash commands for report and emergency.
  • Adds link to message before report in report embed.
  • Adds [p]reports status command.
  • Adds 1/30s cooldown for report and emergency commands (text-based and slash).
  • DM bot owner(s) when a report is made without a configured log channel.

Breaking Changes

  • Removes enabled_channels functionality. The same can be achieved with Red's permissions functionality.
  • The [p]reports confirm command is now [p]reports confirmation.
  • The [p]reports logchannel and [p]reports confirmation commands can only be run from within a guild.

@tigattack tigattack added the cog-report Issues related to the report cog. label Feb 21, 2025
@tigattack tigattack marked this pull request as ready for review February 21, 2025 22:37
@tigattack tigattack changed the title refactor(report): improve config checks & responses Improve report cog Feb 22, 2025
@tigattack tigattack requested a review from rippleFCL February 22, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cog-report Issues related to the report cog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] report command as slash command [FEAT] Link to message before trigger in report cog.
1 participant