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:
byron 2024-03-12 21:47:15 -04:00
parent 4f68631080
commit cedf10bdd2

View file

@ -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 " +