mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 00:35:02 +00:00
Merge branch 'master' into fix_automodBanDuration
This commit is contained in:
commit
b3f5011f5d
31 changed files with 346 additions and 127 deletions
|
@ -137,7 +137,7 @@ export async function banUserId(
|
|||
banTime: banTime ? humanizeDuration(banTime) : null,
|
||||
});
|
||||
|
||||
pluginData.state.events.emit("ban", user.id, reason);
|
||||
pluginData.state.events.emit("ban", user.id, reason, banOptions.isAutomodAction);
|
||||
|
||||
return {
|
||||
status: "success",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue