Stop deleting the emote invocation.
This commit is contained in:
parent
22bd5302c5
commit
cec38cf4bd
|
@ -12,7 +12,6 @@ export default new Command({
|
||||||
async run({guild, channel, message, args}) {
|
async run({guild, channel, message, args}) {
|
||||||
let output = "";
|
let output = "";
|
||||||
for (const query of args) output += queryClosestEmoteByName(query).toString();
|
for (const query of args) output += queryClosestEmoteByName(query).toString();
|
||||||
if (botHasPermission(guild, Permissions.FLAGS.MANAGE_MESSAGES)) message.delete();
|
|
||||||
channel.send(output);
|
channel.send(output);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue