mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Add moderator variable to mod action templates (#119)
This commit is contained in:
parent
d7d9178b2a
commit
87b2798a96
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