This commit is contained in:
tacheometry committed 2023-12-22 03:50:32 +02:00
1 parent 2098f1e391
commit fa24aa13bc
4 files changed
+473 -4

No files matched your search

+3 -1
View File
@@ -7,6 +7,7 @@ import { checkInVoiceChannel, checkSameVoiceChannel } from '../../../utils/valid
import { Logger } from 'pino';
import { localizeCommand, useServerTranslator } from '../../../common/localeUtil';
import { TFunction } from 'i18next';
import { formatSlashCommand } from '../../../common/formattingUtils';
class SeekCommand extends BaseSlashCommandInteraction {
constructor() {
@@ -77,7 +78,8 @@ class SeekCommand extends BaseSlashCommandInteraction {
.setDescription(
translator('commands.seek.correctFormatInstruction', {
icon: this.embedOptions.icons.warning,
wrongDuration: formattedDurationString
wrongDuration: formattedDurationString,
seekCommand: formatSlashCommand('seek', translator)
})
)
.setColor(this.embedOptions.colors.warning)