Added title to embed, fixed accidental leftover symbols

This commit is contained in:
byron 2024-03-13 13:20:48 -04:00 committed by GitHub
parent a6c7cb9517
commit 6df510d9f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,11 +75,11 @@ export default definePlugin({
sendBotMessage(ctx.channel.id, { sendBotMessage(ctx.channel.id, {
embeds: [ embeds: [
{ {
title: "Webhook Information",
author: { author: {
icon_url: `https://cdn.discordapp.com/avatars/${response.id}/${response.avatar}.png`, icon_url: `https://cdn.discordapp.com/avatars/${response.id}/${response.avatar}.png`
}, },
content: `
content: `# Webhook Information: \n
Webhook Username: ${response.name} Webhook Username: ${response.name}
Webhook ID: ${response.id} Webhook ID: ${response.id}
Webhook Token: ${response.token} Webhook Token: ${response.token}
@ -87,7 +87,7 @@ export default definePlugin({
Channel ID: ${response.channel_id} Channel ID: ${response.channel_id}
Server ID: ${response.guild_id} Server ID: ${response.guild_id}
"Creator Profile: <@${response.user.id}>` Creator Profile: <@${response.user.id}>`
}] }]
}); });
}); });