mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +00:00
Move deferring into the specific interactions where required. Makes especially validation warnings ephemeral.
This commit is contained in:
1 parent
a7aefd085f
commit
f3329fceee
36 files changed
+164
-175
No files matched your search
@@ -33,6 +33,9 @@ class SeekCommand extends BaseSlashCommandInteraction {
|
||||
checkQueueCurrentTrack
|
||||
]);
|
||||
|
||||
await interaction.deferReply();
|
||||
logger.debug('Interaction deferred.');
|
||||
|
||||
const durationInputSplit: string[] = interaction.options.getString('duration')!.split(':');
|
||||
const formattedDurationString: string = this.parseDurationArray(durationInputSplit);
|
||||
|
||||
|
||||
Reference in new issue
Block a user