mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-19 22:20:34 +00:00
removed personal plugin i use before pull request (its in .gitignore i think) also added logging to console on getinfo
This commit is contained in:
parent
4f68631080
commit
cedf10bdd2
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ export default definePlugin({
|
||||||
var webhookUrl = findOption(option, "url");
|
var webhookUrl = findOption(option, "url");
|
||||||
await fetch("" + webhookUrl).then(response => response.json())
|
await fetch("" + webhookUrl).then(response => response.json())
|
||||||
.then(response => {
|
.then(response => {
|
||||||
|
console.log(JSON.stringify(response));
|
||||||
sendBotMessage(ctx.channel.id, {
|
sendBotMessage(ctx.channel.id, {
|
||||||
content: "# Webhook Information: \n" +
|
content: "# Webhook Information: \n" +
|
||||||
"Webhook Username: " + response.name + "\n " +
|
"Webhook Username: " + response.name + "\n " +
|
||||||
|
|
Loading…
Reference in a new issue