diff --git a/src/helpers/CustomEmojisHelper.ts b/src/helpers/CustomEmojisHelper.ts index e58279d..675e1c8 100644 --- a/src/helpers/CustomEmojisHelper.ts +++ b/src/helpers/CustomEmojisHelper.ts @@ -35,14 +35,14 @@ export class CustomEmojisHelper { * the same shortcut * * @param userID Target user ID - * @param shorcut The name of the shortcut to check + * @param shortcut The name of the shortcut to check */ - public static async HasUserSimilarShortcut(userID: number, shorcut: string) : Promise { + public static async HasUserSimilarShortcut(userID: number, shortcut: string) : Promise { return await DatabaseHelper.Count({ table: EMOJIS_TABLE, where: { user_id: userID, - shortcut: shorcut + shortcut: shortcut } }) > 0; }