mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
update command descriptions and set logger name
This commit is contained in:
1 parent
775d942e2d
commit
ddeaf82c11
26 files changed
+209
-199
No files matched your search
@@ -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)!;
|
||||
|
||||
|
||||
Reference in new issue
Block a user