mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Add moderator variable to mod action templates (#119)
This commit is contained in:
parent
497b76296d
commit
ec3bf2739d
4 changed files with 17 additions and 1 deletions
|
@ -88,6 +88,9 @@ export async function muteUser(
|
|||
guildName: pluginData.guild.name,
|
||||
reason: reason || "None",
|
||||
time: timeUntilUnmute,
|
||||
moderator: muteOptions.caseArgs?.modId
|
||||
? stripObjectToScalars(await resolveUser(pluginData.client, muteOptions.caseArgs.modId))
|
||||
: "",
|
||||
}));
|
||||
|
||||
if (muteMessage && user instanceof User) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue