mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 13:55:03 +00:00
Used guildPluginSlashCommand instead of raw blueprints
This commit is contained in:
parent
7eff7bcaa6
commit
cbec6101e0
27 changed files with 168 additions and 121 deletions
|
@ -170,26 +170,26 @@ export const ModActionsPlugin = zeppelinGuildPlugin<ModActionsPluginType>()({
|
|||
description: "Moderation actions",
|
||||
defaultMemberPermissions: "0",
|
||||
subcommands: [
|
||||
{ type: "slash", ...AddCaseSlashCmd },
|
||||
{ type: "slash", ...BanSlashCmd },
|
||||
{ type: "slash", ...CaseSlashCmd },
|
||||
{ type: "slash", ...CasesSlashCmd },
|
||||
{ type: "slash", ...DeleteCaseSlashCmd },
|
||||
{ type: "slash", ...ForceBanSlashCmd },
|
||||
{ type: "slash", ...ForceMuteSlashCmd },
|
||||
{ type: "slash", ...ForceUnmuteSlashCmd },
|
||||
{ type: "slash", ...HideCaseSlashCmd },
|
||||
{ type: "slash", ...KickSlashCmd },
|
||||
{ type: "slash", ...MassBanSlashCmd },
|
||||
{ type: "slash", ...MassMuteSlashSlashCmd },
|
||||
{ type: "slash", ...MassUnbanSlashCmd },
|
||||
{ type: "slash", ...MuteSlashCmd },
|
||||
{ type: "slash", ...NoteSlashCmd },
|
||||
{ type: "slash", ...UnbanSlashCmd },
|
||||
{ type: "slash", ...UnhideCaseSlashCmd },
|
||||
{ type: "slash", ...UnmuteSlashCmd },
|
||||
{ type: "slash", ...UpdateSlashCmd },
|
||||
{ type: "slash", ...WarnSlashCmd },
|
||||
AddCaseSlashCmd,
|
||||
BanSlashCmd,
|
||||
CaseSlashCmd,
|
||||
CasesSlashCmd,
|
||||
DeleteCaseSlashCmd,
|
||||
ForceBanSlashCmd,
|
||||
ForceMuteSlashCmd,
|
||||
ForceUnmuteSlashCmd,
|
||||
HideCaseSlashCmd,
|
||||
KickSlashCmd,
|
||||
MassBanSlashCmd,
|
||||
MassMuteSlashSlashCmd,
|
||||
MassUnbanSlashCmd,
|
||||
MuteSlashCmd,
|
||||
NoteSlashCmd,
|
||||
UnbanSlashCmd,
|
||||
UnhideCaseSlashCmd,
|
||||
UnmuteSlashCmd,
|
||||
UpdateSlashCmd,
|
||||
WarnSlashCmd,
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue