1. Install Disсord.js module to node.js.
2. Add new app in disсordapp.com/developers and convert him to the bot.
3. Save his token and place somewhere to the nrelay, recommended to create new config-file.
5. In place, where located logging to console, change code to send messages to the selected channel.
Btw, i thought you know how to installing bot to the nrelay.