fix typos

merge-requests/12/head
Matthew 2020-04-25 00:32:45 -04:00 committed by Bsian
parent 8067a8b348
commit 4bf2311091
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
2 changed files with 3 additions and 3 deletions

View File

@ -32,10 +32,10 @@ export default class AddItem extends Command {
},
});
await newAccount.save();
return message.channel.createMessage(`***${this.client.util.emojis.SUCCESS} Added langauge code ${args[0]} to profile.***`);
return message.channel.createMessage(`***${this.client.util.emojis.SUCCESS} Added language code ${args[0]} to profile.***`);
}
await account.updateOne({ $addToSet: { 'additional.langs': args[0].split('-')[1] } });
return message.channel.createMessage(`***${this.client.util.emojis.SUCCESS} Added langauge code ${args[0]} to profile.***`);
return message.channel.createMessage(`***${this.client.util.emojis.SUCCESS} Added language code ${args[0]} to profile.***`);
}
return message.channel.createMessage(`***${this.client.util.emojis.ERROR} Invalid language code.***`);
} catch (err) {

View File

@ -27,7 +27,7 @@ export default class DelItem extends Command {
return message.channel.createMessage(`***${this.client.util.emojis.ERROR} You don't have any languages to remove.***`);
}
await account.updateOne({ $pull: { 'additional.langs': args[0].split('-')[1] } });
return message.channel.createMessage(`***${this.client.util.emojis.SUCCESS} Removed langauge code ${args[0]} to profile.***`);
return message.channel.createMessage(`***${this.client.util.emojis.SUCCESS} Removed language code ${args[0]} to profile.***`);
}
return message.channel.createMessage(`***${this.client.util.emojis.ERROR} Invalid language code.***`);
} catch (err) {