diff --git a/.eslintrc b/.eslintrc index 6598da8..3dac692 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,6 +4,7 @@ "parserOptions": { "ecmaVersion": "esnext", "sourceType": "" }, "rules": { "@typescript-eslint/no-non-null-assertion": "off", - "quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals" : true }] + "quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals" : true }], + "semi" : ["error", "always"] } } \ No newline at end of file diff --git a/src/handler/sern.ts b/src/handler/sern.ts index 028a8fa..b1f714c 100644 --- a/src/handler/sern.ts +++ b/src/handler/sern.ts @@ -16,7 +16,7 @@ import type { Message } from 'discord.js'; -import { Ok, Result, None, Some, Option } from 'ts-results'; +import { Ok, Result, None, Some } from 'ts-results'; import { isBot, hasPrefix, fmt } from './utilities/messageHelpers'; /** @@ -154,6 +154,7 @@ export class Handler { } case 'public': { // Creating global commands + // TODO : warn user they will be creating a public command await this.client.application!.commands .create({ name: cmdName,