Don't allow nul

This commit is contained in:
loicbersier 2019-06-20 02:49:11 +02:00
parent 608c4fea90
commit 5e649c35b4

View file

@ -29,6 +29,7 @@ class TagCommand extends Command {
}
async exec(message, args) {
if (args.trigger == null || args.response == null) return;
let trigger = args.trigger;
let response = args.response;