returns if there is an error
This commit is contained in:
parent
3651a957a1
commit
421b1272ed
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ module.exports = {
|
|||
num = num.slice(0, -1);
|
||||
} catch (e) {
|
||||
message.channel.send("There was an error.");
|
||||
return;
|
||||
}
|
||||
message.channel.send("https://cdn.discordapp.com/emojis/" + num + extension);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue