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

+3 -6
View File
@@ -1,19 +1,16 @@
import 'dotenv/config';
import config from 'config';
import { REST, RESTPostAPIChatInputApplicationCommandsJSONBody, RouteLike, Routes } from 'discord.js';
import 'dotenv/config';
import { randomUUID as uuidv4 } from 'node:crypto';
import fs from 'node:fs';
import path from 'node:path';
import { randomUUID as uuidv4 } from 'node:crypto';
import { Logger } from 'pino';
import loggerModule from '../services/logger';
import { SystemOptions } from '../types/configTypes';
import { Logger } from 'pino';
const systemOptions: SystemOptions = config.get('systemOptions');
const executionId: string = uuidv4();
const logger: Logger = loggerModule.child({
module: 'deploy',
name: 'deploySlashCommands',