feature: bulk emote dl

This commit is contained in:
skkeye
2023-11-05 20:28:44 -05:00
parent ecb0d624ab
commit e2f587994c
5 changed files with 79 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ module.exports = {
async execute(interaction) {
await interaction.deferReply();
// this regex matches emotes in the format <:name:id> or <a:name:id>
// this regex matches emotes in the format <:name:id> or <a:n>
let emoteIdRegex = /<(?<animated>a?):(?<name>\w{0,22})\w*:(?<id>\d+)>/gm;
let replyMessage = "";
const input = interaction.options.getString("emote");