aboutsummaryrefslogtreecommitdiff
path: root/src/lib/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/common')
-rw-r--r--src/lib/common/AutoMod.ts2
-rw-r--r--src/lib/common/Format.ts1
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.