diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-05 16:14:12 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-05 16:14:12 -0400 |
commit | ad2077fa157d49c1099f21ac2effe05903c39035 (patch) | |
tree | 4ada5fb9a6243d21411500dc46b203ace06718e1 /src/lib/extensions/discord.js/BushThreadMember.ts | |
parent | dbb2de6e5c4b0cf80a5be8e62bbabaac2f3dd516 (diff) | |
download | tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.gz tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.bz2 tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.zip |
fixed ~500 errors from breaking changes
Diffstat (limited to 'src/lib/extensions/discord.js/BushThreadMember.ts')
-rw-r--r-- | src/lib/extensions/discord.js/BushThreadMember.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushThreadMember.ts b/src/lib/extensions/discord.js/BushThreadMember.ts index 4ef51ae..77f2b20 100644 --- a/src/lib/extensions/discord.js/BushThreadMember.ts +++ b/src/lib/extensions/discord.js/BushThreadMember.ts @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/ban-types */ import { ThreadMember } from 'discord.js'; +import { RawThreadMemberData } from 'discord.js/typings/rawDataTypes'; import { BushGuildMember } from './BushGuildMember'; import { BushThreadChannel } from './BushThreadChannel'; import { BushUser } from './BushUser'; @@ -8,7 +9,7 @@ export class BushThreadMember extends ThreadMember { public declare readonly guildMember: BushGuildMember | null; public declare readonly user: BushUser | null; public declare thread: BushThreadChannel; - public constructor(thread: BushThreadChannel, data?: object) { + public constructor(thread: BushThreadChannel, data?: RawThreadMemberData) { super(thread, data); } } |