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

+3 -3
View File
@@ -17,16 +17,16 @@ class QueueCommand extends BaseSlashCommandInteraction {
constructor() {
const data = new SlashCommandBuilder()
.setName('queue')
.setDescription('Show the list of tracks added to the queue.')
.setDescription('Show tracks that have been added to the queue.')
.addNumberOption((option) =>
option.setName('page').setDescription('Page number of the queue').setMinValue(1)
option.setName('page').setDescription('Page number to display for the queue').setMinValue(1)
);
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)!;