3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-13 05:57:18 +00:00
This commit is contained in:
Shoaib Sajid 2021-05-20 13:28:28 -04:00 committed by GitHub
commit fdcf54da17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ import { setAntiraidLevel } from "../functions/setAntiraidLevel";
import { sendSuccessMessage } from "../../../pluginUtils"; import { sendSuccessMessage } from "../../../pluginUtils";
export const AntiraidClearCmd = guildCommand<AutomodPluginType>()({ export const AntiraidClearCmd = guildCommand<AutomodPluginType>()({
trigger: ["antiraid clear", "antiraid reset", "antiraid none", "antiraid off"], trigger: ["antiraid clear", "antiraid reset", "antiraid none", "antiraid off","ar clear", "ar reset", "ar none", "ar off"],
permission: "can_set_antiraid", permission: "can_set_antiraid",
async run({ pluginData, message }) { async run({ pluginData, message }) {

View file

@ -5,7 +5,7 @@ import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
import { commandTypeHelpers as ct } from "../../../commandTypes"; import { commandTypeHelpers as ct } from "../../../commandTypes";
export const SetAntiraidCmd = guildCommand<AutomodPluginType>()({ export const SetAntiraidCmd = guildCommand<AutomodPluginType>()({
trigger: "antiraid", trigger: ["antiraid", "ar"],
permission: "can_set_antiraid", permission: "can_set_antiraid",
signature: { signature: {

View file

@ -5,7 +5,7 @@ import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
import { commandTypeHelpers as ct } from "../../../commandTypes"; import { commandTypeHelpers as ct } from "../../../commandTypes";
export const ViewAntiraidCmd = guildCommand<AutomodPluginType>()({ export const ViewAntiraidCmd = guildCommand<AutomodPluginType>()({
trigger: "antiraid", trigger: ["antiraid", "ar"],
permission: "can_view_antiraid", permission: "can_view_antiraid",
async run({ pluginData, message }) { async run({ pluginData, message }) {