mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Type fixes + circular dependency fix
This commit is contained in:
parent
e3b6b017a2
commit
59e75e0584
20 changed files with 70 additions and 83 deletions
|
@ -69,7 +69,7 @@ export const VcmoveCmd = utilityCmd({
|
|||
return;
|
||||
}
|
||||
|
||||
const oldVoiceChannel = pluginData.guild.channels.cache.get(args.member.voice.channelId);
|
||||
const oldVoiceChannel = pluginData.guild.channels.cache.get(args.member.voice.channelId) as VoiceChannel;
|
||||
|
||||
try {
|
||||
await args.member.edit({
|
||||
|
@ -83,7 +83,7 @@ export const VcmoveCmd = utilityCmd({
|
|||
pluginData.getPlugin(LogsPlugin).logVoiceChannelForceMove({
|
||||
mod: msg.author,
|
||||
member: args.member,
|
||||
oldChannel: oldVoiceChannel!,
|
||||
oldChannel: oldVoiceChannel,
|
||||
newChannel: channel,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue