You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\william\Projects\bolt\node_modules\@guildedjs\webhook-client\dist\WebhookClient.js:7
constructor(webhookConnection, { username, avatarURL }) {
^
TypeError: Cannot destructure property 'username' of 'undefined' as it is undefined.
at new WebhookClient (C:\Users\william\Projects\bolt\node_modules\@guildedjs\webhook-client\dist\WebhookClient.js:7:38)
at guildedClient.bridgeSend (file:///C:/Users/william/Projects/bolt/platforms/guilded.js:123:14)
at client.bridgeSend (file:///C:/Users/william/Projects/bolt/class.js:252:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.7.0
Expected behavior
This should not be thrown, as providing a masquerade in the constructor should be optional.
Please complete the following information
Node.js version: 18.7.0
npm version: 8.15.0
Package version: 0.13.16
Additional context
I can't repro this on 0.13.8
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating an instance of WebhookClient without providing a masquerade, an error is thrown.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This should not be thrown, as providing a masquerade in the constructor should be optional.
Please complete the following information
Additional context
I can't repro this on 0.13.8
The text was updated successfully, but these errors were encountered: