From c46bca75387aae8aa0e5f37567dd23b9a5f1c65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 11 May 2019 17:58:11 +0200 Subject: [PATCH] moved emote in embed title since discord mobile now show it --- commands/owner/eval.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/owner/eval.js b/commands/owner/eval.js index 6b491f14..9d855dc0 100644 --- a/commands/owner/eval.js +++ b/commands/owner/eval.js @@ -39,22 +39,22 @@ class EvalCommand extends Command { const evalEmbed = new MessageEmbed() .setColor('#00FF00') + .setTitle(' Eval succes ') .setThumbnail('https://cdn4.iconfinder.com/data/icons/gradient-ui-1/512/success-512.png') .addField('Input', `\`\`\`js\n${code}\`\`\``) .addField('Output', `\`\`\`js\n${clean(evaled)}\`\`\``) .setTimestamp(); - message.channel.send(' Eval succes '); message.channel.send(evalEmbed); } catch (err) { const errorEmbed = new MessageEmbed() .setColor('#FF0000') + .setTitle('Eval failed <:sadpepe:534399181679230986>') .setThumbnail('https://cdn4.iconfinder.com/data/icons/the-weather-is-nice-today/64/weather_48-512.png') .addField('Input', `\`\`\`js\n${args.eval}\`\`\``) .addField('Output', `\`\`\`js\n${clean(err)}\`\`\``) .setTimestamp(); - message.channel.send('Eval failed <:sadpepe:534399181679230986>'); message.channel.send(errorEmbed); } }