mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
WIP
This commit is contained in:
1 parent
d0f1e940a5
commit
6ebf7b9bd3
30 files changed
+174
-71
No files matched your search
@@ -4,13 +4,13 @@ import { EmbedBuilder, GuildMember } from 'discord.js';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
import { CustomComponentInteraction } from '../../types/interactionTypes';
|
||||
import { BaseComponentInteraction } from '../../types/interactionTypes';
|
||||
import { notInSameVoiceChannel, notInVoiceChannel } from '../../utils/validation/voiceChannelValidator';
|
||||
import { queueDoesNotExist, queueNoCurrentTrack } from '../../utils/validation/queueValidator';
|
||||
import { Logger } from 'pino';
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
|
||||
const component: CustomComponentInteraction = {
|
||||
const component: BaseComponentInteraction = {
|
||||
execute: async ({ interaction, referenceId, executionId }) => {
|
||||
const logger: Logger = loggerModule.child({
|
||||
source: 'nowplaying-skip.js',
|
||||
|
||||
Reference in new issue
Block a user