mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-19 22:20:34 +00:00
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:
parent
73a2f5548a
commit
f43f404123
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
|
@ -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}`
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue