From 2f247ddaa95a87301f6950299fc439905f84112d Mon Sep 17 00:00:00 2001 From: Neko Life Date: Sun, 30 May 2021 17:56:05 +0000 Subject: [PATCH] tiny fix --- cmds/utility/embmaker.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmds/utility/embmaker.js b/cmds/utility/embmaker.js index cb4dfa6..b909526 100644 --- a/cmds/utility/embmaker.js +++ b/cmds/utility/embmaker.js @@ -354,7 +354,9 @@ module.exports = class embmaker extends commando.Command { } sent.push(channel.send({content:content,embed:embed,files:newAttach}).catch(e => noPerm(msg))); } - tryReact(msg, "a:yesLife:794788847996370945"); + if (sent.length > 0) { + tryReact(msg, "a:yesLife:794788847996370945"); + } return sent; } catch (e) { return errLog(e, msg, this.client, true, "", true);