Giter VIP home page Giter VIP logo

codeybot's Introduction


Codey Bot

The Discord Bot of University of Waterloo's Computer Science Club

Build Discord Server


Required config variables

Set these accordingly within the correct config folder. If you are testing locally, use the /config/dev folder for local configurations. By default, these variables should not be pushed to the remote.

  • TARGET_GUILD_ID: the ID of the guild (server) in which coffee chats are being held.
  • COFFEE_ROLE_ID: the ID of the role the bot will use to decide who is enrolled into coffee chats.
  • NOTIF_CHANNEL_ID: the ID of the channel the bot will send system notifications to.
  • ANNOUNCEMENTS_CHANNEL_ID: the ID of the announcements channel.
  • OFFICE_STATUS_CHANNEL_ID: the ID of the office hours channel.
  • IRC_USER_ID: the ID of the irc-bridge user.

Required environment variables

Set these into your .env file. Make sure to not push these changes to git.

  • DISCORD_TOKEN: the bot's token, found in the Discord Developer Portal. DO NOT REVEAL THIS TOKEN; ANYONE WITH THIS TOKEN CAN CONTROL YOUR BOT.

Setting up the bot

You can follow the instructions outlined in this document.

Contributing

You can follow the steps in this document.

Commands

Using Docker

  • Build the container: yarn image:build
  • Start the container: yarn start
  • Stop the container: yarn stop
  • Stop and remove the container: yarn clean
  • Restart the container: yarn restart
  • Fresh build and restart: yarn image:build && yarn clean && yarn start

Locally

  • Run the project: yarn ts:build && yarn local:run

Miscellaneous

  • Run linter: yarn lint
  • Format code: yarn format

codeybot's People

Contributors

adntaha avatar alexz429 avatar alluq avatar asdera avatar cneryx avatar danielk1345 avatar edwinyi-janyang avatar elainehan3 avatar gnishiwaki avatar gzcharleszhang avatar hydrobeam avatar kallentu avatar kevinbacabac avatar lunacodedemon avatar marko-polo-cheno avatar mcpenguin avatar picowchew avatar shahanneda avatar victorzheng02 avatar www0030 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.