aboutsummaryrefslogtreecommitdiff
path: root/src/lib/common
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-22 20:24:19 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-22 20:24:19 -0500
commit62e9eca0452c56f6efd00921db8ed6b6302be1df (patch)
tree5ab61b73d0eab0f9fce36c911cb9429df2a97fd5 /src/lib/common
parent609f042fc2bb5b1ded881d3e9eedb2f92bd0c172 (diff)
downloadtanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.tar.gz
tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.tar.bz2
tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.zip
add @notenoughupdates/simplify-number
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.