mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-13 05:57:18 +00:00
Merge c98fa9b327
into e684d33b06
This commit is contained in:
commit
fdcf54da17
3 changed files with 3 additions and 3 deletions
|
@ -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 }) {
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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 }) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue