Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttendees ¶
func NewAttendees(attendeeStr string) []*calendar.EventAttendee
NewAttendees will construct a google calendar attendees which will be registered to CalendarHandler
func NewCalendarClient ¶
func NewCalendarClient(filePath, devEmail string) *calendar.Service
NewCalendarClient will construct a google calendar client which will be registered to CalendarHandler
Types ¶
type Handler ¶
type Handler interface { // Meet Function Interface Meet(s *discordgo.Session, m *discordgo.MessageCreate) (bool, string, error) }
Handler Interface
func NewCalendarHandler ¶
func NewCalendarHandler(client *calendar.Service, attendees []*calendar.EventAttendee) Handler
NewCalendarHandler will construct a handler to call the Meet method
Click to show internal directories.
Click to hide internal directories.