I have read and understand the Cogboard Bounty rules
Bounty Request Format:
Discord Username:
mikey#0777
Payment Information (Optional)
Paypal/Amazon Gift Card
V2 or V3
V3
API’s or other information
Google Calendar
Description of Cog
[p]gcal
[p]gcal add <calendarName> <calendarID>
[p]gcal delete <calendarName>
[p]gcal <calendarName> <optionalInteger>
Need a Google Calendar bot integration that pulls events from a Google Calendar based on it’s ID.
I assume that we’d need to set a google api key using [p]set api
[p]gcal add <calendarName> <calendarID>
Adds a calendar to be tracked.
calendarName is user provided.
calendarID is the ID in the URL of a Google Calendar, for example in https://calendar.google.com/calendar?cid=ZW4udXNhI2hvbGlkYXlAZ3JvdXAudi5jYWxlbmRhci5nb29nbGUuY29t
, the string ZW4udXNhI2hvbGlkYXlAZ3JvdXAudi5jYWxlbmRhci5nb29nbGUuY29t
is the calendarID.
[p]gcal delete <calendarName>
Removes this calendar from the database.
[p]gcal <calendarName> <optionalInteger>
Pulls the next (defaults to 5) events in the future.
Prints the output as
summary
description
In X hours, X minutes, X seconds from now.