mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 14:38:49 +00:00
chore: formatting and sorting
This commit is contained in:
1 parent
0bdc5501be
commit
72e2b2aa13
56 files changed
+283
-217
No files matched your search
@@ -1,10 +1,13 @@
|
||||
import config from 'config';
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
import { EmbedBuilder, GuildMember, VoiceChannel, TextChannel } from 'discord.js';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { CannotJoinVoiceOrTalkParams, CannotSendMessageInChannelParams } from '../../types/utilTypes';
|
||||
import { EmbedBuilder, GuildMember, TextChannel, VoiceChannel } from 'discord.js';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
import {
|
||||
CannotJoinVoiceOrTalkParams, CannotSendMessageInChannelParams
|
||||
} from '../../types/utilTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
export const cannotJoinVoiceOrTalk = async ({ interaction, executionId }: CannotJoinVoiceOrTalkParams) => {
|
||||
const logger = loggerModule.child({
|
||||
source: 'permissionValidator.js',
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
import config from 'config';
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
import { EmbedBuilder } from 'discord.js';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { QueueDoesNotExistParams, QueueNoCurrentTrackParams, QueueIsEmptyParams } from '../../types/utilTypes';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
import {
|
||||
QueueDoesNotExistParams, QueueIsEmptyParams, QueueNoCurrentTrackParams
|
||||
} from '../../types/utilTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
export const queueDoesNotExist = async ({ interaction, queue, executionId }: QueueDoesNotExistParams) => {
|
||||
const logger = loggerModule.child({
|
||||
source: 'queueValidator.js',
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
import config from 'config';
|
||||
import { EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
import { EmbedBuilder } from 'discord.js';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
import { NotValidGuildIdParams } from '../../types/utilTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
export const notValidGuildId = async ({ interaction, executionId }: NotValidGuildIdParams) => {
|
||||
const logger = loggerModule.child({
|
||||
source: 'systemCommandValidator.js',
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
import loggerModule from '../../services/logger';
|
||||
import config from 'config';
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
import { EmbedBuilder, GuildMember } from 'discord.js';
|
||||
import { NotInVoiceChannelParams, NotInSameVoiceChannelParams } from '../../types/utilTypes';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
import { NotInSameVoiceChannelParams, NotInVoiceChannelParams } from '../../types/utilTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
export const notInVoiceChannel = async ({ interaction, executionId }: NotInVoiceChannelParams) => {
|
||||
const logger = loggerModule.child({
|
||||
source: 'voiceChannelValidator.js',
|
||||
|
||||
Reference in new issue
Block a user