mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 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,5 +1,6 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { Events } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import config from 'config';
|
||||
import { EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedClient } from '../../types/clientTypes';
|
||||
import { EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
module.exports = {
|
||||
name: 'disconnect',
|
||||
isDebug: false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { Events } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Events, Guild } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Events, Guild } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
import config from 'config';
|
||||
import { BaseGuildTextChannel, EmbedBuilder, Events, PresenceData } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedClient } from '../../types/clientTypes';
|
||||
import { EmbedOptions, LoadTestOptions, SystemOptions } from '../../types/configTypes';
|
||||
import { postBotStats } from '../../utils/other/postBotStats';
|
||||
import { startLoadTest } from '../../utils/other/startLoadTest';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
const presenceStatusOptions: PresenceData = config.get('presenceStatusOptions');
|
||||
const loadTestOptions: LoadTestOptions = config.get('loadTestOptions');
|
||||
import { postBotStats } from '../../utils/other/postBotStats';
|
||||
import { startLoadTest } from '../../utils/other/startLoadTest';
|
||||
import { Events, EmbedBuilder, PresenceData, BaseGuildTextChannel } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedClient } from '../../types/clientTypes';
|
||||
|
||||
module.exports = {
|
||||
name: Events.ClientReady,
|
||||
isDebug: false,
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import config from 'config';
|
||||
import { EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedClient } from '../../types/clientTypes';
|
||||
import { EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
module.exports = {
|
||||
name: 'reconnecting',
|
||||
isDebug: false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { Events } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
import config from 'config';
|
||||
import { EmbedBuilder, Events, Interaction, StringSelectMenuInteraction } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { Command, ExtendedClient } from '../../types/clientTypes';
|
||||
import { BotOptions, EmbedOptions } from '../../types/configTypes';
|
||||
import { cannotSendMessageInChannel } from '../../utils/validation/permissionValidator';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const botOptions: BotOptions = config.get('botOptions');
|
||||
import { cannotSendMessageInChannel } from '../../utils/validation/permissionValidator';
|
||||
import { Events, EmbedBuilder, Interaction, StringSelectMenuInteraction } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedClient, Command } from '../../types/clientTypes';
|
||||
|
||||
module.exports = {
|
||||
name: Events.InteractionCreate,
|
||||
isDebug: false,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
import config from 'config';
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { BotOptions, EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const botOptions: BotOptions = config.get('botOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
|
||||
// Emitted when the player queue encounters error (general error with queue)
|
||||
module.exports = {
|
||||
name: 'error',
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
import config from 'config';
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { BotOptions, EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const botOptions: BotOptions = config.get('botOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
|
||||
// Emitted when the player encounters an error while streaming audio track
|
||||
module.exports = {
|
||||
name: 'error',
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
import config from 'config';
|
||||
import { Track } from 'discord-player';
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { BotOptions, EmbedOptions, SystemOptions } from '../../types/configTypes';
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
|
||||
const embedOptions: EmbedOptions = config.get('embedOptions');
|
||||
const botOptions: BotOptions = config.get('botOptions');
|
||||
const systemOptions: SystemOptions = config.get('systemOptions');
|
||||
import { BaseGuildTextChannel, EmbedBuilder } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { Track } from 'discord-player';
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
|
||||
// Emitted when the audio player fails to load the stream for a track
|
||||
module.exports = {
|
||||
name: 'playerSkip',
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { Track } from 'discord-player';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in new issue
Block a user