fix: Added eslint and prettier-eslint for formatting and linting

This commit is contained in:
Marius Begby committed 2023-07-13 11:35:39 +02:00
1 parent 78dcc1b2e9
commit d0f1c4103a
19 files changed
+1638 -71

No files matched your search

+7 -2
View File
@@ -14,7 +14,9 @@ for (const file of systemCommandFiles) {
systemCommands.push(systemCommand.data.toJSON());
}
const rest = new REST({ version: '10' }).setToken(process.env.DISCORD_BOT_TOKEN);
const rest = new REST({ version: '10' }).setToken(
process.env.DISCORD_BOT_TOKEN
);
(async () => {
try {
@@ -30,7 +32,10 @@ const rest = new REST({ version: '10' }).setToken(process.env.DISCORD_BOT_TOKEN)
for (const systemServerGuildId of systemServerGuildIds) {
await rest.put(
Routes.applicationGuildCommands(process.env.DISCORD_CLIENT_ID, systemServerGuildId),
Routes.applicationGuildCommands(
process.env.DISCORD_CLIENT_ID,
systemServerGuildId
),
{
body: systemCommands
}