A discord bot for IIT Patna community on any discord server.
- test discord server (Communication channel) - https://discord.gg/BpBPWjz
NOTE make sure that you have node js installed in your system. If not follow the these installation instructions https://discordjs.guide/preparations/
- Fork the repository, clone the forked repo and switch to its directory -
git clone https://github.com/<your github username>/iitp-discord-bot.git && cd iitp-discord-bot
- Install npm packages -
npm install
- Put the bot token in
configs/config.json
. For security purpose the bot token is not put in the file. Contact @piyushchauhan to get the bot token. - Download the
google-sheets.json
key inconfigs/
folder and make sure thatkeyFile:'configs/google-sheets.json'
is set inservices/googleSheetsService.js
- Run the node server by running
node .
Now the bot is up and running
- Go to the test server.
- Make sure the bot is online and the node server is running.
- Send the message(
!ping
) in the#testing
channel of the test discord server. the bot will pick the message and accordingly do actions based on the code.
- Join the discord server mentioned above.
- Follow the installation instructions above.
- If you face any diffuculty feel free to send a message on general channel of the discord server.
- After installation, and successfull testing, you can look into the issues that interest you and add a comment on that issue saying that you want to work on it.
- If you are confirmed to work on the issue, you can for start working on it. Finally after the issue/feature requirements are complete then you can create a PR targeting
dev
branc. Mentioning the changes you made and the issue you are solving in the PR. - Your PR will be reviewed. If the changes made are appropriate then it will be merged in the
dev
branch.
Made with contributors-img.