Merge branch 'master' into play-behavior-fix-gpg

This commit is contained in:
Max Isom 2021-12-12 12:59:19 -05:00
commit f833b3b756
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
17 changed files with 854 additions and 599 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!);
@ -130,7 +131,6 @@ export default class implements Command {
if (song) {
newSongs.push(song);
} else {
console.log(_);
await res.stop(errorMsg('that doesn\'t exist'));
return;
}