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

Add functions to automod module #1810

Closed
wants to merge 1 commit into from

Conversation

cokyman
Copy link

@cokyman cokyman commented Dec 31, 2024

Add new functions to the automod_bot.go file to enhance the automod module.

  • ListRulesets: Add a function to list all rulesets in the automod module.
  • ToggleRuleset: Add a function to enable or disable a ruleset in the automod module.
  • GetLogs: Add a function to retrieve logs of triggered rules in the automod module.
  • ListViolationsCount: Add a function to list violations summary in the automod module.
  • ListViolations: Add a function to list violations of a specified user in the automod module.
  • DeleteViolation: Add a function to delete a violation with the specified ID in the automod module.
  • ClearViolations: Add a function to clear violations of a specified user in the automod module.

For more details, open the Copilot Workspace session.

Add new functions to the `automod_bot.go` file to enhance the `automod` module.

- **ListRulesets**: Add a function to list all rulesets in the `automod` module.
- **ToggleRuleset**: Add a function to enable or disable a ruleset in the `automod` module.
- **GetLogs**: Add a function to retrieve logs of triggered rules in the `automod` module.
- **ListViolationsCount**: Add a function to list violations summary in the `automod` module.
- **ListViolations**: Add a function to list violations of a specified user in the `automod` module.
- **DeleteViolation**: Add a function to delete a violation with the specified ID in the `automod` module.
- **ClearViolations**: Add a function to clear violations of a specified user in the `automod` module.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/botlabs-gg/yagpdb?shareId=XXXX-XXXX-XXXX-XXXX).
@ashishjh-bst
Copy link
Contributor

Please read contribution guidelines before raising PRs.

@ashishjh-bst ashishjh-bst changed the base branch from master to dev December 31, 2024 20:12
@SoggySaussages
Copy link
Contributor

And don’t raise AI code you’ve neither written nor debugged??

@SoggySaussages
Copy link
Contributor

This is literally nothing. A bunch of functions which are never actually
implemented anywhere, and they don’t even work. Evidently you’re
using AI to make 0 effort contributions to random repositories you
don't even care about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants