Skip to content

Bot to handle automation of the pair programming service

Notifications You must be signed in to change notification settings

chingu-x/pair-prog-bot

Repository files navigation

pair-prog-bot

pair-prog-bot is a discord bot made for Chingu


How to run

  • npm install to install the dependencies

  • You also need to set your bot token in a .env file, and pass it in through the token variable

  • node index.js to run the bot

  • When new commands are added, run node deploy-commands.js. This will update the server with the new changes. Only needed regarding commands.

Dependencies

  • discord.js - 14.14.1
  • dotenv - 16.3.1

.env

Your .env should contain the following:

  • DISCORD_TOKEN = <your-discord-token>
  • CLIENT_ID = <your-client-id>
  • GUILD_ID = <your-server-id>

Token and Client ID can be found in the Discord Developer Portal

Development

Branch naming

  • lowercase and hyphen inplace of space. For example feature/discord-bot
  • Only alphanumeric characters, dont use period, space, underscores etc. and dont use multiple hyphens after another, or trailing hyphens.
  1. feature/ for all features.
  2. bugfix/ for all bugfixes.
  3. hotfix/ for all quick emergency fixes.
  4. docs/ for udates to documentation.
  5. refactor/ for refactoring.

Commit messages

  • all commit messages should be short (50 characters or less), but descriptive. Example feat: add admin dashboard The description should also be what the commit does, not what you did. Notice the example above said add not added
  • We use the following prefixes:
    • feat: for features
    • fix: for bugfixes and hotfixes
    • docs: for ducumentaion
    • refactor: for refactoring

About

Bot to handle automation of the pair programming service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published