svenvv / Niles

Niles - a Discord bot for interfacing with Google Calendar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Niles Discord Bot

Codacy Badge

A Discord bot for using Google Calendar to manage events. Targeted towards eSports event scheduling (scrims, PCWs).

Getting Started

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.

Prerequisites

Installing

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

Built With

License

This project is licensed under the MIT License

About

Niles - a Discord bot for interfacing with Google Calendar

License:MIT License


Languages

Language:JavaScript 100.0%