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

Added mod_actions reason aliases #296

Closed
wants to merge 17 commits into from
Closed

Added mod_actions reason aliases #296

wants to merge 17 commits into from

Conversation

metal0
Copy link
Contributor

@metal0 metal0 commented Sep 23, 2021

No description provided.

backend/src/plugins/ModActions/functions/parseReason.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/commands/UnbanCmd.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/functions/parseReason.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/functions/parseReason.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/functions/parseReason.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/commands/MassmuteCmd.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/commands/MassUnbanCmd.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/commands/ForcebanCmd.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/commands/AddCaseCmd.ts Outdated Show resolved Hide resolved
backend/src/plugins/ModActions/functions/banUserId.ts Outdated Show resolved Hide resolved
@Dragory
Copy link
Collaborator

Dragory commented Oct 18, 2021

Can you send an example of how this works?

@almeidx
Copy link
Collaborator

almeidx commented Oct 18, 2021

plugins:
  mod_actions:
   reason_aliases:
     advertising: This is an alias for advertising

!ban @user advertising

The reason_aliases keys are not case sensitive

metal and others added 17 commits December 19, 2021 16:23

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@zayKenyon
Copy link
Contributor

plugins:
  mod_actions:
   reason_aliases:
     advertising: This is an alias for advertising

!ban @user advertising

The reason_aliases keys are not case sensitive

reason_aliases should be nested under the config:

@Ibotmealot
Copy link

Dunno if this isn't intended, however, when using the update command and if you use an aliases it doesn't display the aliases. Hope that makes sense?

@metal0 metal0 closed this by deleting the head repository Feb 10, 2023
@metal0 metal0 reopened this Feb 10, 2023
@metal0 metal0 closed this Feb 27, 2023
@metal0 metal0 reopened this Feb 27, 2023
@metal0
Copy link
Contributor Author

metal0 commented Feb 27, 2023

Superseded by #390

@metal0 metal0 closed this Feb 27, 2023
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.

None yet

5 participants