RCON Response
I have a working chunk of code for RCON, but I can only get it to console log the command and the information. I have been trying to get it to output the information from the command to the Discord channel. Any help with this would be greatly appreciated. š
9 Replies
ā¢ 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.
Remote Connect, used for sending commands to a game server via a Discord Bot or something else.
Yeah, my bot is active and I have an with the correct const for this to work, but I can only get it to log in my VS Code
If I input this
I get this in VS Code
I want that "Response:" to be sent back into the channel either via .reply or something. I just haven't been able to do it. I have no other ideas on how to and I'm sure it's rather simple and I'm over complicating things.
Yep, both server and command are defined. The commands work in game and everything, but I just need the command info to be spit back out into the Discord.
So if I do a .followUp( ), within the parentheses I should put?
I'm using this, to grab the content from the slash command option.
@qjuh
I have this now:
It logs the command in VS Code and send this as a reply
Nothing, just wanted to share the code that worked. That should be all until next time. š Thank you for the help.