This commit is contained in:
Jacob Nguyen
2024-06-11 00:16:12 -05:00
parent ed36814ec9
commit 6a2709f52b
2 changed files with 0 additions and 6 deletions

View File

@@ -10,7 +10,6 @@ sidebar:
- A common provider of this is `dotenv`
```txt title=".env"
DISCORD_TOKEN=<YOUR_TOKEN>
APPLICATION_ID=<YOUR_APPLICATION_ID>
NODE_ENV=<production|development>
```
- Calls the discord API with the [PUT route](https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands). Wherever your commands directory is located, publish will override the existing application commands at Discord.
@@ -27,8 +26,6 @@ await makeDependencies(({ add }) => {
});
```
## Features
- Automatically syncs api with your command base
- generates JSON file of output (**.sern/command-data-remote.json**)

View File

@@ -165,9 +165,6 @@ export class Publisher implements Init {
}
}
}
this.logger.info({
message: "Result of publishing is located at .sern/command-data-remote.json.\n Do not remove this!"
});
await writeFile(
'.sern/command-data-remote.json',
JSON.stringify({ global: globalJsonBody,