Edgehog Radio - Discord Bot

This Discord Bot allows the playback of Edge Hill's student run radio station 'Edgehog'

https://www.edgehill.ac.uk/departments/academic/english-and-creative-arts/edgehogmedia/edgehogradio/

Authors

Requirements & Dependencies

  • Node
  • npm
  • DiscordJS (Installed by npm)
  • Dotenv (Installed by npm)
  • libsodium-wrappers (Installed by npm, handles SSL)

Run Locally

Create a new Discord Bot at https://discord.com/developers/applications

Clone the project

  git clone https://github.com/danbracey/EdgeHogRadio-DiscordBot

Go to the project directory

  cd EdgeHogRadio-DiscordBot

Copy the environment file

  cp .env.example .env

Copy the Bot Token and the Client ID into the appropriate places within the .env file.

Install dependencies

  npm install

ON FIRST RUN: Register discord slash commands (Note the cjs file extention instead of js)

  node deploy-commands.cjs

Run the Discord Bot.

  node app.js