This commit is contained in:
Neko Life 2021-05-30 17:56:05 +00:00
parent 40599b7071
commit 2f247ddaa9

View file

@ -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))); 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; return sent;
} catch (e) { } catch (e) {
return errLog(e, msg, this.client, true, "", true); return errLog(e, msg, this.client, true, "", true);