Allow classic commands in DMs even when disabled, add channel name to music end message, better check for API_TYPE, update docs

This commit is contained in:
Essem 2022-09-09 14:55:03 -05:00
parent 50bff306c0
commit e474d838b0
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
11 changed files with 94 additions and 35 deletions

View file

@ -18,7 +18,7 @@ class StopCommand extends MusicCommand {
players.delete(this.channel.guild.id);
queues.delete(this.channel.guild.id);
this.success = true;
return "🔊 The current voice channel session has ended.";
return `🔊 The voice channel session in \`${this.connection.voiceChannel.name}\` has ended.`;
}
static description = "Stops the music";