1
0
Fork 0

Send the message that ask for template link when nothing is sent

akairo
Supositware 5 years ago
parent 64d56ddba7
commit 90227bb824

@ -22,7 +22,7 @@ class spbCommand extends Command {
}
async exec(message, args) {
if (!args.link.includes('shitpostbot.com/template/')) {
if (!args.link || !args.link.includes('shitpostbot.com/template/')) {
return message.channel.send('Need a template Shitpostbot 5000 link!');
}

Loading…
Cancel
Save