mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
feat: added ban/unban reasons to their respective api calls
This commit is contained in:
parent
140ba84544
commit
d4f12ca1c8
5 changed files with 6 additions and 7 deletions
|
@ -66,7 +66,7 @@ export const MassbanCmd = modActionsCommand({
|
|||
const casesPlugin = pluginData.getPlugin(CasesPlugin);
|
||||
for (const userId of args.userIds) {
|
||||
try {
|
||||
await pluginData.guild.banMember(userId, 1);
|
||||
await pluginData.guild.banMember(userId, 1, banReason);
|
||||
|
||||
await casesPlugin.createCase({
|
||||
userId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue