Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jan 19, 2024
1 parent 1f7100c commit e6548a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/Configuration/PM2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type Ecosystem = {
apps: Apps;
};

export default {
export default ({
apps: [
{
name: "discord",
Expand All @@ -16,4 +16,4 @@ export default {
force: true,
},
],
} satisfies Ecosystem;
} satisfies Ecosystem);
4 changes: 2 additions & 2 deletions Source/Option/DISCORD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const Clients: Client[] = [

if (!DISCORD_PUBLIC_KEY) {
throw new Error(
"The DISCORD_TOKEN environment variable is required."
"The DISCORD_TOKEN environment variable is required.",
);
}

Expand All @@ -72,7 +72,7 @@ export const Clients: Client[] = [

async function registerGlobalCommands() {
await registerCommands(
`https://discord.com/api/v10/applications/${applicationId}/commands`
`https://discord.com/api/v10/applications/${applicationId}/commands`,
);
}

Expand Down

0 comments on commit e6548a2

Please sign in to comment.