update command descriptions and set logger name

This commit is contained in:
Marius Begby committed 2023-08-31 15:39:23 +02:00
1 parent 775d942e2d
commit ddeaf82c11
26 files changed
+209 -199

No files matched your search

+2 -2
View File
@@ -11,13 +11,13 @@ import { notInSameVoiceChannel, notInVoiceChannel } from '../../../utils/validat
class PauseCommand extends BaseSlashCommandInteraction {
constructor() {
const data = new SlashCommandBuilder().setName('pause').setDescription('Pause or resume the current track.');
const data = new SlashCommandBuilder().setName('pause').setDescription('Toggle pause for the current track.');
super(data);
}
async execute(params: BaseSlashCommandParams): BaseSlashCommandReturnType {
const { executionId, interaction } = params;
const logger = this.getLogger(this.commandName, executionId, interaction);
const logger = this.getLogger(this.name, executionId, interaction);
const queue: GuildQueue = useQueue(interaction.guild!.id)!;