A discord bot for IIT Patna community on any discord server.
- test server - 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/
- Clone the repository and switch to its directory -
git clone https://github.com/piyushchauhan/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.