From ed85e5b6f9e49e264805fac411063bdf4c4c3224 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 8 Aug 2019 21:24:41 +0200 Subject: [PATCH] fix typo --- commands/owner/botAvatar.js | 2 +- commands/utility/translate.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/owner/botAvatar.js b/commands/owner/botAvatar.js index 59dbdb2..979e262 100644 --- a/commands/owner/botAvatar.js +++ b/commands/owner/botAvatar.js @@ -25,7 +25,7 @@ class BotAvatarCommand extends Command { let Attachment = (message.attachments).array(); let image = args.image; if (!Attachment[0] && !image) - return message.say('You didint provide any images'); + return message.say('You didn\'t provide any images'); else if (image && !Attachment[0]) { this.client.user.setAvatar(image) .catch(() => message.channel.send('The link you provided dosen\'t work... is it a picture?')); diff --git a/commands/utility/translate.js b/commands/utility/translate.js index ed2c813..174380e 100644 --- a/commands/utility/translate.js +++ b/commands/utility/translate.js @@ -42,7 +42,7 @@ class TranslationCommand extends Command { return response.json(); }).then((response) => { if (response.code == '502') - return message.channel.send(`${response.message}, you probably didin't input the correct language code, you can check them here! https://tech.yandex.com/translate/doc/dg/concepts/api-overview-docpage/`); + return message.channel.send(`${response.message}, you probably didn't input the correct language code, you can check them here! https://tech.yandex.com/translate/doc/dg/concepts/api-overview-docpage/`); else if (response.code != '200') return message.channel.send('An error has occured');