From 4bf231109113234c454d2a1131be27fb36757e72 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 25 Apr 2020 00:32:45 -0400 Subject: [PATCH] fix typos --- src/commands/additem.ts | 4 ++-- src/commands/delitem.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/additem.ts b/src/commands/additem.ts index f99d524..666489d 100644 --- a/src/commands/additem.ts +++ b/src/commands/additem.ts @@ -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) { diff --git a/src/commands/delitem.ts b/src/commands/delitem.ts index d62bff1..cf802d2 100644 --- a/src/commands/delitem.ts +++ b/src/commands/delitem.ts @@ -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) {