diff options
Diffstat (limited to 'src/lib/common')
-rw-r--r-- | src/lib/common/AutoMod.ts | 2 | ||||
-rw-r--r-- | src/lib/common/Format.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/common/AutoMod.ts b/src/lib/common/AutoMod.ts index 8b31e55..5fd5d2d 100644 --- a/src/lib/common/AutoMod.ts +++ b/src/lib/common/AutoMod.ts @@ -129,7 +129,7 @@ export class AutoMod { return color; async function deleteError(this: AutoMod, e: Error | any) { - this.message.guild?.sendLogChannel('error', { + void this.message.guild?.sendLogChannel('error', { embeds: [ { title: 'AutoMod Error', diff --git a/src/lib/common/Format.ts b/src/lib/common/Format.ts index 55a6666..b47be38 100644 --- a/src/lib/common/Format.ts +++ b/src/lib/common/Format.ts @@ -10,6 +10,7 @@ export class Format { * @param content The content to wrap. */ public static codeBlock(content: string): string; + /** * Wraps the content inside a codeblock with the specified language. * @param language The language for the codeblock. |