forked from Supositware/Haha-Yes
fix typo
This commit is contained in:
parent
a6355b0142
commit
ed85e5b6f9
2 changed files with 2 additions and 2 deletions
|
@ -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?'));
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue