Don't allow nul
This commit is contained in:
parent
608c4fea90
commit
5e649c35b4
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class TagCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
|
if (args.trigger == null || args.response == null) return;
|
||||||
let trigger = args.trigger;
|
let trigger = args.trigger;
|
||||||
let response = args.response;
|
let response = args.response;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue