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/ban.ts b/src/commands/mod/ban.ts index 18b6c7e..70e904c 100644 --- a/src/commands/mod/ban.ts +++ b/src/commands/mod/ban.ts
@@ -97,7 +97,7 @@ .addComponents(new ButtonBuilder() .setStyle(ButtonStyle.Link) .setLabel(config.moderation.ban.text) - .setURL(config.moderation.ban.link) + .setURL(config.moderation.ban.link.replaceAll("{id}", (interaction.options.getMember("user") as GuildMember).id)) ) ) }