Skip to content

jalvarez212/ntsbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTS Discord Bot

A Discord bot that automatically plays NTS radio in voice channels.

Installation

  1. Install Node.js and npm on your server:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
  1. Install PM2 globally:
sudo npm install -g pm2
  1. Clone this repository and install dependencies:
git clone <your-repo-url>
cd ntsbot
npm install
  1. Start the bot with PM2:
pm2 start ntsbot.js --name "ntsbot"

Useful PM2 Commands

  • View logs: pm2 logs ntsbot
  • Monitor processes: pm2 monit
  • Stop bot: pm2 stop ntsbot
  • Restart bot: pm2 restart ntsbot
  • Set up PM2 to start on system boot: pm2 startup (follow the instructions it provides)
  • Save the current PM2 process list: pm2 save

Configuration

Make sure to:

  1. Update the Discord bot token in ntsbot.js
  2. Ensure all dependencies are installed: Node.js, FFmpeg, Opus

Troubleshooting

If you encounter audio issues:

  1. Make sure FFmpeg is installed: sudo apt-get install ffmpeg
  2. Check PM2 logs for errors: pm2 logs ntsbot
  3. Ensure the bot has proper permissions in Discord

Terms of Service

This project is open source and in active development. By using this bot, you agree that:

  1. The service is provided "as is" without warranty of any kind.
  2. We are not responsible for any issues that may arise from using this bot.

Privacy Policy

We respect your privacy.

  1. We do not collect any personal user data.
  2. This is an open source project intended for educational and personal use.

About

live stream of nts.live for discord channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors