fix: Extract logic for getting author value for embeds

This commit is contained in:
Marius Begby committed 2023-09-05 21:52:03 +02:00
1 parent 8c05499f08
commit 83e23d87b4
60 files changed
+126 -317

No files matched your search

+1 -1
View File
@@ -1,8 +1,8 @@
import { ChatInputCommandInteraction } from 'discord.js';
import { Logger } from 'pino';
import { BaseSlashCommandInteraction } from '../classes/interactions';
import loggerModule from '../services/logger';
import { ExtendedClient } from '../types/clientTypes';
import { BaseSlashCommandInteraction } from '../classes/interactions';
import { checkChannelPermissionViewable } from '../utils/validation/permissionValidator';
export const handleCommand = async (