serenity
1 min read

Scheduled Messages

Post a message automatically, every day or on one weekday, at a fixed time.

Replace [prefix] with your server's prefix. scheduledmessage can also be typed as schedmsg.

Adding One

// Syntax
[prefix]scheduledmessage add [channel] [time] [weekday] [message]

// Example
;scheduledmessage add #announcements 09:00 monday Weekly reset is live!
;scheduledmessage add #general 20:30 Good evening everyone!

Needs Manage Server. time is 24-hour HH:MM, and it's always read as UTC - serenity has no per-server timezone setting, so pick a time with that in mind.

weekday is optional. Leave it out (like the second example above) and the message goes out every day; name a weekday and it only fires on that one - monday, tue, wednesday, and so on all work, short or long.

message accepts full embed code, the same as everywhere else in serenity - so a scheduled post can be a proper embed rather than a line of text.

Writing Embed CodeHere, you can learn about how to script embeds for commands that support this feature.

Managing Them

;scheduledmessage list

Each entry is numbered. That number is what the rest of these commands take - it's not the same as anything you typed when adding it, so check list before acting on one:

CommandWhat it does
[prefix]scheduledmessage remove [number]Delete it
[prefix]scheduledmessage enable [number]Turn a disabled one back on
[prefix]scheduledmessage disable [number]Pause it without deleting it

Removing one shifts the numbers below it up by one, same as any numbered list. If you're removing more than one at a time, re-run list between each removal rather than working off a number you saw earlier.

Last edited