feat: remove from queue

+ fix typo queuecommand
This commit is contained in:
DrunkenToast 2021-11-20 21:10:39 +01:00 committed by Max Isom
parent 46701a8aab
commit 5a74115beb
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
4 changed files with 86 additions and 2 deletions

View file

@ -37,6 +37,7 @@ export default class implements Command {
this.getSongs = getSongs;
}
// eslint-disable-next-line complexity
public async execute(msg: Message, args: string[]): Promise<void> {
const [targetVoiceChannel] = getMemberVoiceChannel(msg.member!) ?? getMostPopularVoiceChannel(msg.guild!);