Fix all eslint warnings
All checks were successful
CI / CI (push) Successful in 18s
Lint Codebase / eslint (push) Successful in 12s

This commit is contained in:
SileNce5k 2024-11-05 06:32:40 +01:00
parent ad5c15ee40
commit ac9b59281e
Signed by: SileNce
GPG key ID: B0A142BB4291B204
11 changed files with 20 additions and 26 deletions

View file

@ -19,7 +19,8 @@ module.exports = {
try {
num = num.slice(0, -1);
} catch (e) {
message.channel.send("There was an error.");
console.error(e)
message.channel.send("There was an error. Check the logs");
return;
}
message.channel.send("https://cdn.discordapp.com/emojis/" + num + extension);