Manages the scheduling system, and periodically checks for events that need to be processed.
scheduler.birthdayroleThis is the role given to members on their birthday.
!schedule [type] [maxresults]
Lists up to
maxresults upcoming events from the schedule. If the first argument is specified, lists only events of that type. Some event types can only be viewed by moderators. Max results: 20
type(optional) Can be one of: bans, birthdays, messages, episodes, events, roles, reminders.
maxresults(optional) Defaults to 5.
Gets the time until the next event of the given type.
type(optional) Can be one of: bans, birthdays, messages, episodes, events, reminders.
!addevent <type> [role] <date> [REPEAT N INTERVAL]
Adds an arbitrary event to the schedule table. For example:
!addevent message "12 Jun 16" "REPEAT 1 YEAR" happy birthday!, or
!addevent episode "9 Dec 15" Slice of Life.
typeCan be one of: ban, message, episode, event, role.
role(optional) A ping of the role that should be notified. Only include this when using the role event type.
dateA date in the format
12 Jun 16 2:10pm, in quotes. The time, year, and timezone are all optional.
REPEAT N INTERVAL(optional) INTERVAL can be one of SECONDS/MINUTES/HOURS/DAYS/WEEKS/MONTHS/YEARS. This parameter MUST be surrounded by quotes!
Removes an event with the given ID from the schedule.
IDThe event ID as gotten from a
!remindme [in N seconds/minutes/hours/etc.] [on "2 January 2006 3:04pm -0700"] <message>
Tells Sweetie Bot to remind you about something in the future.
in N seconds/minutes/hours/etc.(optional) represents a time
Nunits from the current time. The available units are: seconds, minutes, hours, days, weeks, months, years.
on "2 January 2006 3:04pm -0700"(optional) represents an absolute date and time, which must be in quotes. You must choose the
insyntax OR the
onsyntax to specify your time, not both.
messageAn arbitrary string that will be sent to you at the appropriate time.
!addbirthday <date> <member>
Adds member's birthday to the schedule.
dateThe date in the form
2 Jan- **do not** include the year!
memberA username or ping.