edbrdi / n8n-nodes-discord

Nodes to trigger workflows from Discord or send interactive messages
MIT License
31 stars 23 forks source link

Listening for a trigger event not receiving any command #12

Closed Santofer closed 1 year ago

Santofer commented 1 year ago

Hi, thanks for the amazing node.

But in my case, it just keeps listening without any command being received despite the fact that it connects perfectly to my discord. Using v0.4.2 of n8n-nodes-discord with a self-hosted instance of n8n (Version 0.209.3) running on Docker in my own Synology server.

Here's the log, can you please help me with this?

Screenshot 2022-12-28 at 19 09 25
edbrdi commented 1 year ago

Hi, is the trigger active and the bot appears online? Is the webhook url reachable when you call it with a REST client? Can you provide the configuration of your trigger (a screenshot of the node UI)?

Santofer commented 1 year ago

Yes both the trigger active and bot online. And I sent an http request to the webhook url to get all the workflows that succeeded.

Screenshot 2022-12-29 at 11 29 00 Screenshot 2022-12-29 at 11 29 07 Screenshot 2022-12-29 at 11 40 12 Screenshot 2022-12-29 at 11 28 35
edbrdi commented 1 year ago

If you modify your trigger and save it, did you see in your logs a related event? (received event of : trigger, trigger xxxxx update)

The problem could be that the bot is not aware of the existence of the trigger.

I tested the node with the last version of n8n (0.209.x), it seems ok.

Santofer commented 1 year ago

In the log I can see it's received credentials and list:roles only.

Santofer commented 1 year ago

I needed to activate the node for it to work. Problem solved and thank you for your support on Discord.