put the pingable text into 'content' and not the embed, also added the ability to get the userID for simplicity

This commit is contained in:
byron 2024-03-14 11:03:54 -04:00 committed by GitHub
parent 73a2f5548a
commit f43f404123
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,6 @@
- Server ID<br> - Server ID<br>
- Webhook Profile Picture<br> - Webhook Profile Picture<br>
- Webhook Type<br> - Webhook Type<br>
- Creator Profile<br> - Creator Profile<br>
- Creator UserID<br>
</details> </details>

View file

@ -90,6 +90,7 @@ export default definePlugin({
sourceChannelGet = ""; sourceChannelGet = "";
} }
sendBotMessage(ctx.channel.id, { sendBotMessage(ctx.channel.id, {
content: `This webhook was created by <@${response.user.id}>.`,
embeds: [ embeds: [
{ {
// @ts-ignore // @ts-ignore
@ -111,7 +112,7 @@ export default definePlugin({
${sourceGuildGet} ${sourceGuildGet}
${sourceChannelGet} ${sourceChannelGet}
Creator Profile: <@${response.user.id}>` Creator UserID: ${response.user.id}`
}] }]
}); });
}); });