Niles is a Discord bot for displaying a simple calendar that interfaces with Google Calendar.
First invite Niles to your Discord server.
Now, either create a new Google calendar or use an existing one, and under Settings > Calendars > ‘Calendar Name’, select ‘Share This Calendar’. Under ‘Share with a specific person’ add
firstname.lastname@example.org and make sure you give permission Make changes to events.
Next scroll down to ‘Integrate calendar’ and copy the Calendar ID - You’ll need this to setup Niles in your Discord Server.
!setup in your
#general to get started.
Visit the setup page for more detailed setup information.
!help- Get a DM of the list of commands and usage.
!setup- Get instructions for setting Niles up for use in your Discord.
!id- Set the Google Calendar ID for the calendar you want Niles to sync to.
!tz- Set the preferred timezone of your Discord server, use format relative to GMT:
!display- Prints a message with the calendar.
!update- Checks for any new events and updates the last printed calendar, also works as
!prefix- Change the prefix that Niles uses in the server.
!admin- Restrict usage to a specific role, i.e. “Scheduler” or “Captain”.
!create- Create a new event:
!create 4legs friday 8pm-10pm, also works with
!delete- Delete an event:
!delete <event_name>, i.e.
!clean- Deletes a certain number of messages:
!clean 5(deletes previous 5 messages), also works with
!invite- Get the invite link for the Niles.
!stats- Display the stats for the bot.
!count- Check if a calendar updater thread is running in your server.
!displayoptions help- Turn off the help text under the calendar, takes 1 or 0 as input (on or off) i.e.
!displayoptions help 0to turn off help text.
!displayoptions pin- Turn off pinning of the calendar, takes 1 or 0 as input (on or off) i.e.
!displayoptions pin 0to turn off pinning.
!displayoptions format- Change clock format between 12 and 24-hour clock format, takes 12 or 24 as input i.e.
displayoptions format 24to disply events in 24-hour clock format.
!displayoptions tzdisplay- Turn off timezone display, take 1 or 0 as input (on or off) i.e.
!displayoptions tzdisplay 0to turn off timezone display.
Join the Niles Discord server if you have issues or suggestions.
Visit the self-host page for more detailed setup information.
Sean Coffey (GitHub).
Last update: 8 Feb 2020