In the provided Repl, the code connects to a Discord Bot to log every message in a designated Discord channel, and allows users to talk from the bot into the Discord server.
What I would like to do, however, is have the messages relay to the Express server (./server.js), and allow the user to type there, rather than in the console. Is this possible? And, if so, how would I go about doing this? I am relatively new to node.js, so any advice is welcome.
Move Console Messages to the Express Server
In the provided Repl, the code connects to a Discord Bot to log every message in a designated Discord channel, and allows users to talk from the bot into the Discord server.
What I would like to do, however, is have the messages relay to the Express server (./server.js), and allow the user to type there, rather than in the console. Is this possible? And, if so, how would I go about doing this? I am relatively new to node.js, so any advice is welcome.
then use a readline thing and make it push to the discord client
just have the function write to a channel
@NotDotu