Skip to content

UNSW CSESoc's Discord Bot, currently in use in the CSESoc Discord Server.

Notifications You must be signed in to change notification settings

csesoc/discord-bot

Repository files navigation

CSESoc Discord Bot

Installation

  • Install Node.js and npm from https://nodejs.org/en/download/
  • Clone the repository with git clone https://github.com/csesoc/discord-bot
  • Go to .env and fill in
    • DISCORD_TOKEN with the token of the bot
    • APP_ID with the ID of the bot application
  • Install dependencies with npm install
  • Register slash commands with npm run deploy or node deploy-commands.js
  • Ensure a PostgreSQL database is setup according to "config/database.yml"
  • Start the bot with node index.js

Running the bot with Nodemon

  • Nodemon has been installed, this addition allows for continuous integration with and hot reloads the bot upon saving.
  • Run the bot with Nodemon using npm run server

About

UNSW CSESoc's Discord Bot, currently in use in the CSESoc Discord Server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages