Same fix for Spam plugin
This commit is contained in:
parent
d190957c7f
commit
a72dc89293
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ export const SpamVoiceStateUpdateEvt = spamEvt({
|
|||
if (!member) return;
|
||||
const channel = meta.args.newState.channel;
|
||||
if (!channel) return;
|
||||
if (channel.id === meta.args.oldState?.id) return;
|
||||
|
||||
const config = await meta.pluginData.config.getMatchingConfig({ member, channelId: channel.id });
|
||||
const maxVoiceMoves = config.max_voice_moves;
|
||||
|
|
Loading…
Add table
Reference in a new issue