3
0
Fork 0
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:
Lily Bergonzat 2024-03-05 05:05:03 +01:00
parent 7eff7bcaa6
commit cbec6101e0
27 changed files with 168 additions and 121 deletions

View file

@ -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,
],
}),
],