mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: Extract logic for getting author value for embeds
This commit is contained in:
1 parent
8c05499f08
commit
83e23d87b4
60 files changed
+126
-317
No files matched your search
@@ -6,15 +6,15 @@ import {
|
||||
InteractionType,
|
||||
MessageComponentInteraction
|
||||
} from 'discord.js';
|
||||
import { Logger } from 'pino';
|
||||
import { randomUUID as uuidv4 } from 'node:crypto';
|
||||
import { Logger } from 'pino';
|
||||
import { CustomError } from '../../classes/interactions';
|
||||
import { handleAutocomplete } from '../../handlers/interactionAutocompleteHandler';
|
||||
import { handleCommand } from '../../handlers/interactionCommandHandler';
|
||||
import { handleComponent } from '../../handlers/interactionComponentHandler';
|
||||
import { handleError } from '../../handlers/interactionErrorHandler';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { ExtendedClient } from '../../types/clientTypes';
|
||||
import { CustomError } from '../../classes/interactions';
|
||||
|
||||
module.exports = {
|
||||
name: Events.InteractionCreate,
|
||||
|
||||
Reference in new issue
Block a user