aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-10 10:27:35 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-10 10:27:35 -0400
commit5a0046146fb2a697aead63d2af492db9f0ef9113 (patch)
tree981bf0808e465d5d692482d18437c80715ae3563 /src/lib/extensions/discord.js
parentf1973996dc5f1790df3f72af75732a0d250a14e2 (diff)
downloadtanzanite-5a0046146fb2a697aead63d2af492db9f0ef9113.tar.gz
tanzanite-5a0046146fb2a697aead63d2af492db9f0ef9113.tar.bz2
tanzanite-5a0046146fb2a697aead63d2af492db9f0ef9113.zip
update discord js and discord-akairo
fix breaking changes add unverified bot emoji to user command
Diffstat (limited to 'src/lib/extensions/discord.js')
-rw-r--r--src/lib/extensions/discord.js/ExtendedGuild.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/extensions/discord.js/ExtendedGuild.ts b/src/lib/extensions/discord.js/ExtendedGuild.ts
index e55851b..3dce7ca 100644
--- a/src/lib/extensions/discord.js/ExtendedGuild.ts
+++ b/src/lib/extensions/discord.js/ExtendedGuild.ts
@@ -739,6 +739,7 @@ export class ExtendedGuild extends Guild {
// todo: use enum for this
case 24 as MessageType: {
const embed = quote.embeds[0];
+ // eslint-disable-next-line deprecation/deprecation
assert.equal(embed.data.type, 'auto_moderation_message');
const ruleName = embed.fields!.find((f) => f.name === 'rule_name')!.value;
const channelId = embed.fields!.find((f) => f.name === 'channel_id')!.value;