mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 08:45:03 +00:00
Allow companion_channels to take category ID
This commit is contained in:
parent
46ade30efb
commit
fbd7041172
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