Closed mimikq closed 3 years ago
It should be an empty array as it is in the config. []
Edit: I see your confusion, yes the webhook needs to wrapped in double quotes. i.e:
"webhooks": ["http://webhook.site/jkjlkjlkjlkjkl"],
It should be an empty array as it is in the config.
[]
Edit: I see your confusion, yes the webhook needs to wrapped in double quotes. i.e:"webhooks": ["http://webhook.site/jkjlkjlkjlkjkl"],
yes i set it up without "" and i got error
SyntaxError: /EventWatcher/src/config.json: Unexpected token h in JSON at position 296
and took me a while to find where is the issue me not too much familiar with coding.
and also where i can ask for help please, i'm trying to get it works but in some point i dot error with permissions
(node:21259) UnhandledPromiseRejectionWarning: TypeError: fields.flat is not a function
at Function.normalizeFields (/EventWatcher/node_modules/discord.js/src/structures/MessageEmbed.js:450:8)
at MessageEmbed.setup (/EventWatcher/node_modules/discord.js/src/structures/MessageEmbed.js:78:91)
at new MessageEmbed (/EventWatcher/node_modules/discord.js/src/structures/MessageEmbed.js:18:10)
at embedLikes.map.e (/EventWatcher/node_modules/discord.js/src/structures/APIMessage.js:166:40)
at Array.map (
bot is able to answer to cmd events #room but when i run events #room active i got this error and me bit lost .
edit: leave it we fix it it was old version of node.js :(
thanks in advance
i want to ask if it is working good because tool create voice room for event but not new notification.
where i can ask for more help ?
thanks
in configuration is missing that webhook should be in
"webhooks": [""],
and not :
"webhooks": [],