mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Allow companion_channels to take category ID
This commit is contained in:
parent
205f7721ea
commit
ff053d2f05
5 changed files with 24 additions and 19 deletions
|
@ -5,6 +5,6 @@ import { handleCompanionPermissions } from "../functions/handleCompanionPermissi
|
|||
export const VoiceChannelSwitchEvt = eventListener<CompanionChannelsPluginType>()(
|
||||
"voiceChannelSwitch",
|
||||
({ pluginData, args: { member, oldChannel, newChannel } }) => {
|
||||
handleCompanionPermissions(pluginData, member.id, newChannel.id, oldChannel.id);
|
||||
handleCompanionPermissions(pluginData, member.id, newChannel, oldChannel);
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue