#Webhook Logging

2 messages · Page 1 of 1 (latest)

urban canopyBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

pseudo crow
#

Neither make a new WebhookClient nor store the webhookId. Just store the channelId and after your channel.fetchWebhooks() .find(…) one by checking .owner being your bot. And then you already have the webhook (same after create if it didn’t exist yet) and just call .send on that