mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Stop deleting the emote invocation.
This commit is contained in:
parent
22bd5302c5
commit
cec38cf4bd
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue