A Discord bot for using Google Calendar to manage events. Targeted towards eSports event scheduling (scrims, PCWs).
Invite the hosted bot to your Discord here.
Join the Niles Discord server for support, bug reporting and feature requests.
Visit the Niles website or setup guide for more detailed use and setup descriptions.
If you wanted to host your own version or similar, these instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js - v8 or higher
Setup your Discord app on the Discord developers website.
Note: To add a development bot to your Discord server, visit https://discordapp.com/api/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot&permissions=97344 replacing your app id in the URL.
Set up a Google Service Account. For more information on setting up a Google Service Account, see here.
Create your own secrets.json
file in /config
, using the appropriate values, making sure you also place a copy of your Google Service Account JSON security file somewhere and referencing in secrets
.
Next you will need to copy the stores.json.example
in the /stores
file 3 times.
Rename those files to these names.
store.json
guilddatabase.json
users.json
To run and connect your bot
npm install
node bot.js
- Discord.js - NodeJS library for interfacing with the Discord API
- node-google-calendar - Simple Node module that supports Google Calendar API
This project is licensed under the MIT License