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

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c7130e5 · Feb 2, 2025
Jan 26, 2025
Jan 24, 2025
Jun 28, 2024
Jun 28, 2024
Aug 8, 2024
Aug 8, 2024
Sep 22, 2022
Nov 16, 2022
Sep 22, 2022
Sep 23, 2022
Jul 17, 2024
Jan 21, 2024
Sep 22, 2022
Jul 8, 2024
Jul 8, 2024
Jul 9, 2024
Feb 2, 2025
Feb 2, 2025
Jun 27, 2024

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