commit | 9b2ac4d68d9631c097858c01e3e5aac584ac63a6 | [log] [tgz] |
---|---|---|
author | PineaFan <ash@pinea.dev> | Wed Jan 18 14:41:07 2023 +0000 |
committer | PineaFan <ash@pinea.dev> | Wed Jan 18 14:41:07 2023 +0000 |
tree | f6782c5482b472f6f74b9d4fa317761987ab36a3 | |
parent | 7a9ad4b176b65938d009f52719ca9e987aec0301 [diff] [blame] |
fixed up a few commands
diff --git a/src/commands/mod/mute.ts b/src/commands/mod/mute.ts index 3270d37..86291e5 100644 --- a/src/commands/mod/mute.ts +++ b/src/commands/mod/mute.ts
@@ -252,7 +252,7 @@ .addComponents(new ButtonBuilder() .setStyle(ButtonStyle.Link) .setLabel(config.moderation.mute.text) - .setURL(config.moderation.mute.link) + .setURL(config.moderation.mute.link.replaceAll("{id}", (interaction.options.getMember("user") as GuildMember).id)) ) ) };