aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushVoiceState.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 16:14:12 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 16:14:12 -0400
commitad2077fa157d49c1099f21ac2effe05903c39035 (patch)
tree4ada5fb9a6243d21411500dc46b203ace06718e1 /src/lib/extensions/discord.js/BushVoiceState.ts
parentdbb2de6e5c4b0cf80a5be8e62bbabaac2f3dd516 (diff)
downloadtanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.gz
tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.bz2
tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.zip
fixed ~500 errors from breaking changes
Diffstat (limited to 'src/lib/extensions/discord.js/BushVoiceState.ts')
-rw-r--r--src/lib/extensions/discord.js/BushVoiceState.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushVoiceState.ts b/src/lib/extensions/discord.js/BushVoiceState.ts
index 416b0d8..d9570ad 100644
--- a/src/lib/extensions/discord.js/BushVoiceState.ts
+++ b/src/lib/extensions/discord.js/BushVoiceState.ts
@@ -1,4 +1,5 @@
import { VoiceState } from 'discord.js';
+import { RawVoiceStateData } from 'discord.js/typings/rawDataTypes';
import { BushGuild } from './BushGuild';
import { BushGuildMember } from './BushGuildMember';
import { BushStageChannel } from './BushStageChannel';
@@ -8,7 +9,7 @@ export class BushVoiceState extends VoiceState {
public declare readonly channel: BushVoiceChannel | BushStageChannel | null;
public declare guild: BushGuild;
public declare readonly member: BushGuildMember | null;
- public constructor(guild: BushGuild, data: unknown) {
+ public constructor(guild: BushGuild, data: RawVoiceStateData) {
super(guild, data);
}
}