From 4cb2661ae9c915918108298c2d5652a022154e52 Mon Sep 17 00:00:00 2001 From: byron <47872200+byeoon@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:52:25 -0400 Subject: [PATCH] Also fixed the commands to be better --- src/plugins/WebhookManager/README.MD | 11 ++++++----- src/plugins/WebhookManager/index.tsx | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/plugins/WebhookManager/README.MD b/src/plugins/WebhookManager/README.MD index 5963c1893..9931556a4 100644 --- a/src/plugins/WebhookManager/README.MD +++ b/src/plugins/WebhookManager/README.MD @@ -4,13 +4,13 @@ ## Commands - - /sendwebhookmessage - *Sends a message through a webhook.* + - /webhook send - *Sends a message through a webhook.* - - /deletewebhook - *Deletes a webhook.* + - /webhook delete - *Deletes a webhook.* - - /webhookinfo - *Gets advanced details on the webhook such as the name, profile pic, server and channel ID, and additionally, information on person who created it* + - /webhook info - *Gets advanced details on the webhook such as the name, profile pic, server and channel ID, and additionally, information on person who created it*
Full /webhookinfo Output - Webhook Username
- Webhook ID
@@ -19,6 +19,7 @@ - Server ID
- Webhook Profile Picture
- Webhook Type
- - Creator UserID
- - Creator Username
+ + + - Creator Profile
\ No newline at end of file diff --git a/src/plugins/WebhookManager/index.tsx b/src/plugins/WebhookManager/index.tsx index d4bf4753c..0d90e92f1 100644 --- a/src/plugins/WebhookManager/index.tsx +++ b/src/plugins/WebhookManager/index.tsx @@ -21,7 +21,7 @@ export default definePlugin({ commands: [ { - name: "deletewebhook", + name: "webhook delete", description: "Delete a webhook.", inputType: ApplicationCommandInputType.BUILT_IN, options: [ @@ -56,7 +56,7 @@ export default definePlugin({ } }, { - name: "webhookinfo", + name: "webhook info", description: "Retrieve information about a webhook.", inputType: ApplicationCommandInputType.BUILT_IN, options: [ @@ -94,7 +94,7 @@ export default definePlugin({ } }, { - name: "sendwebhookmessage", + name: "webhook send", description: "Send a message through a webhook.", inputType: ApplicationCommandInputType.BUILT_IN, options: [