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.
4. Find tutorial how to setup disсord bot with typescript (it's pretty same as javascript, you can use anidiots.guide).
5. In place, where located logging to console, change code to send messages to the selected channel.
6. Ta-daa!
Btw, i thought you know how to installing bot to the nrelay.