Skip to content

CodeCareer is committed to helping new developers make their first PR!

License

Notifications You must be signed in to change notification settings

GitCodeCareer/discord-bot

Repository files navigation

CodeCareer Discord Bot

Our Vision

We created this Discord bot to not only provide some useful functionality for the CodeCareer community Discord server, but to also help new developers on their journey to landing a full-time position in tech by providing the opportunity and guidance a new developer needs to make their first real world contribution to open-source projects such as this one.

Commands

Visit the wiki to see a list of all current commands. https://github.com/GitCodeCareer/discord-bot/wiki/Commands

Get Started

Getting started with your first pull request (PR) is easy! Just follow these steps...

  1. Fork the repository to your own Github account.
  2. Clone the forked repository to a directory on your computer.
  3. Run npm install from within the directory. If you prefer Yarn, feel free to use that instead.
  4. Create a new development bot at https://discordapp.com/developers/applications/. Be sure to also create a bot user in order to interact with it.
  5. Create a new project at https://console.firebase.google.com/. Go to Settings then Add an application and under Firebase SDK snippet, choose CDN. Copy/Paste correct values in .env
  6. Duplicate the .env.example file and rename it to .env and fill in the appropriate values from the Discord Developer portal and from Firebase Console
  7. Create a new javascript file in the commands folder that is named after the command you want to add. If you want to add a new event instead, make the event in index.js.
  8. To test the bot, run node index.js
  9. Make sure to debug the new command and test it a lot. If you need help, ask in the CodeCareer Discord anytime! Use the #open-source-😺 channel. When you are ready to submit the PR, head back to this page and click New pull request.
  10. Wait patiently for an admin to look it over and if everything checks out, it will be merged.