From f43f4041233fd89fecd91376528e5bf44a7e0958 Mon Sep 17 00:00:00 2001 From: byron <47872200+byeoon@users.noreply.github.com> Date: Thu, 14 Mar 2024 11:03:54 -0400 Subject: [PATCH] put the pingable text into 'content' and not the embed, also added the ability to get the userID for simplicity --- src/plugins/WebhookManager/README.MD | 3 +-- src/plugins/WebhookManager/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/WebhookManager/README.MD b/src/plugins/WebhookManager/README.MD index 9931556a4..245c51875 100644 --- a/src/plugins/WebhookManager/README.MD +++ b/src/plugins/WebhookManager/README.MD @@ -19,7 +19,6 @@ - Server ID
- Webhook Profile Picture
- Webhook Type
- - - Creator Profile
+ - Creator UserID
\ No newline at end of file diff --git a/src/plugins/WebhookManager/index.tsx b/src/plugins/WebhookManager/index.tsx index 30d8bd9ce..c10278ff8 100644 --- a/src/plugins/WebhookManager/index.tsx +++ b/src/plugins/WebhookManager/index.tsx @@ -90,6 +90,7 @@ export default definePlugin({ sourceChannelGet = ""; } sendBotMessage(ctx.channel.id, { + content: `This webhook was created by <@${response.user.id}>.`, embeds: [ { // @ts-ignore @@ -111,7 +112,7 @@ export default definePlugin({ ${sourceGuildGet} ${sourceChannelGet} - Creator Profile: <@${response.user.id}>` + Creator UserID: ${response.user.id}` }] }); });