Events

The main object in the Calendar Manager is the event. An event can be an appointment, a meeting, a reminder, or any other event that you want to keep track of. The Calendar Manager provides a set of features to manage events, such as creating, updating, and deleting events.

Event Properties

An event has the following properties:

  • Name: The name of the event.
  • Location: The location of the event.
  • Start Date: The date and time when the event starts.
  • End Date: The date and time when the event ends.
  • Repeated: A boolean value that indicates if the event is repeated.
  • Repeat Interval: The interval at which the event is repeated.
  • Repeat Until: The date when the event stops repeating.

Commands

Create an event

/event create
name
My task text
start
31/12/2024 08:00
end
31/12/2024 11:00
location
Channel 2
repeat interval
weekly
repeat_until
12/02/2025
all_day
false
Calendar Manager
Requires CREATE_EVENTS permissions

Invite a user to an event

Sends an invitation to the specified user to the specified event, if the user is not already invited.
/event invite
event_id
123
invitee
@User1
Calendar Manager

Accept an invitation

Accepts the invitation to the specified event.
/event accept
event_id
123
Calendar Manager

Deny an invitation

Denies the invitation to the specified event.
/event deny
event_id
123
Calendar Manager

Lists all events

Lists all events starting from the specified date.
/event list
start
05/18/2024
Calendar Manager

Show event details

Displays detailed information about the specified event.
/event info
event_id
123
Calendar Manager

Remove a user from an event

Removes a user from the specified event.
/event remove
event_id
123
invitee
@User1
Calendar Manager

Delete an event

Deletes the specified event.
/event delete
event_id
123
Calendar Manager

Generate a subscription link

Generate a subscription link for the user to integrate the bot with their favorite calendar app.
/event subscription
regenerate
true
Calendar Manager

Edit an event

Edits an existing event. Can only be done by the event creator.
/event edit
event_id
123
name
Daily Standup
start
31/12/2024 08:00
end
31/12/2024 11:00
Calendar Manager