aboutsummaryrefslogtreecommitdiff
path: root/src/lib/common/util
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-25 23:47:40 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-25 23:47:40 -0500
commit840cca672d681c36f980a06fb79a4e2c01bd69ac (patch)
tree82c40a7fe3e1a2bc6367fed6e3d26b6c7dceb256 /src/lib/common/util
parent6ca99336a416389dd2b0b8c4c6a7b2ef87bc9fef (diff)
downloadtanzanite-840cca672d681c36f980a06fb79a4e2c01bd69ac.tar.gz
tanzanite-840cca672d681c36f980a06fb79a4e2c01bd69ac.tar.bz2
tanzanite-840cca672d681c36f980a06fb79a4e2c01bd69ac.zip
I love breaking changes!!!!
Diffstat (limited to 'src/lib/common/util')
-rw-r--r--src/lib/common/util/Moderation.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/common/util/Moderation.ts b/src/lib/common/util/Moderation.ts
index 84d9fbf..62dbc90 100644
--- a/src/lib/common/util/Moderation.ts
+++ b/src/lib/common/util/Moderation.ts
@@ -10,7 +10,7 @@ import {
type BushUserResolvable,
type ModLogType
} from '#lib';
-import { MessageEmbed, Permissions, type Snowflake } from 'discord.js';
+import { Embed, Permissions, type Snowflake } from 'discord.js';
/**
* A utility class with moderation-related methods.
@@ -208,7 +208,7 @@ export class Moderation {
const ending = await options.guild.getSetting('punishmentEnding');
const dmEmbed =
ending && ending.length && options.sendFooter
- ? new MessageEmbed().setDescription(ending).setColor(util.colors.newBlurple)
+ ? new Embed().setDescription(ending).setColor(util.colors.newBlurple)
: undefined;
const dmSuccess = await client.users