Enable Message Content Intent in Privileged Gateway Intents
Install the community node
Configure credentials (Bot Token, Client ID, n8n API Key, Base URL)
Start building your Discord workflows!
Feedback Welcome
Please test it out and let me know if you encounter any issues. I’ve fixed all the major bugs that were preventing
it from working with modern n8n versions, but there’s always room for improvement!
If you find this node useful, please consider giving it a on GitHub!
Hi, I downloaded it but I can’t make it work. it says “Already logging in - close and reopen this node”. That’s what I did but it still does not work, can you help me pls ?
This node looks great. I am working on getting the voice transcription to work. I’ve given the node itself all the info it needs for whisper as it is an option, but that does not seem to provide a transcription. I am having the bot save an ogg file, which seems to work wheneve rI speak but the files it is making are empty and my voice is going correctly through the chat as others can hear me. So using the file on a following code node like in the instructions does not seem to work either.
Do you have a solution to this problem?
I’ve encountered this issue in both version 0.8 and this version. I still can’t find a solution to this problem.
as i reply to @Danai_Limparserd i asked discord how we can get clear audio from bot’s because i didn’t understand their voice documention and not really documented
Subject: Issue with Server/Channel List not loading and Manual ID entry failing
Message:
Hi, thank you for your response. Let me clarify my situation to ensure we are on the same page.
My goal is simple: I want to trigger the workflow whenever an image (attachment) is uploaded to a specific Discord channel.
However, I am facing a persistent issue with the node configuration:
1. UI Issue: Even though my Bot Token is valid and I have enabled all Privileged Gateway Intents (Presence, Server Members, Message Content) in the Discord Developer Portal, the “Server Names or IDs” and “Listen to Channels” dropdown lists remain empty/blank.
2. Manual Entry Failed: I tried to bypass the UI issue by entering the Server ID and Channel ID manually using Expressions (I tried both String format {{ “123…” }} and Array format {{ [“123…”] }}), but the node throws a validation error saying the value is not supported or “credentials missing”.
Could you please advise on the correct syntax to manually input the Server/Channel IDs if the list doesn’t load? Or is there a known compatibility issue with the latest n8n Docker image?
Hi Swenenzy,
I didn’t find interesting log. They must be somewhere out of my knowledge.
However, the only log that says something when the error occurs is n8n log displayed in docker container details. It says
“Cannot use ‘in’ operator to search for ‘description’ in undefined”
By th way, I should clarify the situation it happens:
I can set my credentials, when I test them it returns “Connection tested successfully “. Then I come back to the node options, select “trigger type : message”
Then I try to select server name and get the “already logging in” error message.
I get that error whenever I edit the credential for the discord bot. When this happens, I delete the full credential and create one from scratch, could be with the same exact information.
I noticed that after some time tinkering the node has a tendency of running multiple times. IE: the text trigger is triggered multiple times causing multiple responses. I am assuming that either the node or n8n is not deactiving correctly and with every update a new instance is running. There error is staing its already logging in, probably cause of the prior instances runningi in the background has priority.
Here is what I experience with the Discord Voice Trigger node (v0.19.0):
The voice recording works fine on the bot side — the file gets saved to disk
with correct duration and size — but the audioData field is always null, and
the workflow receives “No audio buffer received!” every time.
My setup:
n8n version: 2.8.3
Node: n8n-nodes-discord-trigger-new v0.19.0
The filePath field is correctly populated (e.g. recordings/userid_timestamp.ogg)
The file exists on disk and has valid content
audioSize is always 0 and audioData is always null
As a workaround I am currently reading the file from disk using the filePath
field, but the built-in transcription (OpenAI Whisper) does not work either
since audioData is null.
Questions:
Has anyone found a working solution for this?
Is a fix planned, and if so, when can we expect it?