Make Update Deps use reactions

This commit is contained in:
Dragon Fire
2024-04-27 00:00:50 -04:00
parent 9a8bbea10c
commit 6aecb32a93
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ module.exports = class SketchCommand extends Command {
magik.out('0x20+120');
magik.setFormat('png');
const attachment = await magikToBuffer(magik);
reactIfAble(msg, msg.author, SUCCESS_EMOJI_ID, '✅');
await reactIfAble(msg, msg.author, SUCCESS_EMOJI_ID, '✅');
if (Buffer.byteLength(attachment) > 8e+6) return msg.reply('Resulting image was above 8 MB.');
return msg.say({ files: [{ attachment, name: 'sketch.png' }] });
}