This commit is contained in:
Daniel Odendahl Jr
2017-09-27 16:49:37 +00:00
parent 9f1b9688ae
commit 8a70e44902
16 changed files with 88 additions and 18 deletions
+2 -1
View File
@@ -67,7 +67,8 @@ module.exports = class TranslateCommand extends Command {
});
const lang = body.lang.split('-');
const embed = new MessageEmbed()
.setColor(0x00AE86)
.setAuthor('Yandex', 'https://i.imgur.com/HMpH9sq.png')
.setColor(0xFF0000)
.addField(` From: ${codes[lang[0]]}`,
text)
.addField(` To: ${codes[lang[1]]}`,