Also fixed the commands to be better

This commit is contained in:
byron 2024-03-13 12:52:25 -04:00 committed by GitHub
parent 0fd7a59d8a
commit 4cb2661ae9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 8 deletions

View file

@ -4,13 +4,13 @@
</div>
## 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*
<details><summary>Full /webhookinfo Output</summary>
- Webhook Username <br>
- Webhook ID<br>
@ -19,6 +19,7 @@
- Server ID<br>
- Webhook Profile Picture<br>
- Webhook Type<br>
- Creator UserID<br>
- Creator Username<br>
- Creator Profile<br>
</details>

View file

@ -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: [