summaryrefslogtreecommitdiff
path: root/src/sys/handler/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/handler/index.ts')
-rw-r--r--src/sys/handler/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/handler/index.ts b/src/sys/handler/index.ts
index a832d12..1512ab7 100644
--- a/src/sys/handler/index.ts
+++ b/src/sys/handler/index.ts
@@ -35,7 +35,7 @@ export const registerCommands = async (
rest: REST,
appId: string,
) => {
- await rest.post(Routes.applicationCommands(appId), {
+ await rest.put(Routes.applicationCommands(appId), {
body: [...commands].map(
(x) => x.json,
) as RESTPostAPIApplicationCommandsJSONBody[],