From 5e649c35b418c4a4e5a4acc6daef17726768f923 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 20 Jun 2019 02:49:11 +0200 Subject: [PATCH] Don't allow nul --- commands/admin/tag.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/admin/tag.js b/commands/admin/tag.js index dcfcd6b..f6d7bc4 100644 --- a/commands/admin/tag.js +++ b/commands/admin/tag.js @@ -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;