@niles-bot/niles
v5.0.1
Published
niles discord bot
Downloads
4
Readme
Niles Discord Bot
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
- Node.js - v16 or higher
Installing
Setup your Discord app on the Discord developers website.
Note: To add a development bot to your Discord server, visit https://discord.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.
Alternative, set up OAuth2 Credentials.
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
.
To run and connect your bot
npm install
npm run
Built With
- Discord.js - NodeJS library for interfacing with the Discord API
- googleapis - Google APIs Node.js Client
License
This project is licensed under the MIT License