Opening hours

Schedules the closing of channels (or whole categories) at certain hours and days, for example from 11 pm to 7 am: Robert denies sending messages (and, optionally, reactions and threads, or connecting for a voice channel), announces it in an info channel, then reopens. The exact state of each channel's permissions is saved before closing and restored as it was at reopening, even after a restart or if the team changed a channel in the meantime. Manual closing or reopening is possible, with a confirmation as soon as it affects several channels; emergency locking of a channel or the server stays in Moderation.

Free Disabled by default Hours per day of the weekPermissions restored exactlyConfirmation before a mass closing

Configure in the dashboard

On this page GuideQuick startGood to knowSettings Commands Limits per plan

Guide

Quick start

  1. Enable the module, pick the Channels with hours (or some Whole categories) and the Info channel.
  2. Turn on Apply the schedule automatically, then set the Closing time (23:00), the Reopening time (07:00) and the days.
  3. At the set time, Robert denies sending messages (and threads, and optionally reactions) to @everyone in these channels, announces it in the info channel, then reopens in the morning. Voice channels refuse connections.

Good to know

  • Permissions restored exactly: before closing a channel, Robert saves the exact state of the permissions it is about to touch (per role). At reopening, it puts that state back; if the overwrite didn't exist, it disappears. If the team changed the channel during the closing, only Robert's own settings are undone and the rest is kept. The state is stored: a bot restart changes nothing.
  • Roles that are silenced: empty means @everyone. Roles that keep speaking get an explicit permission during the closing. A closed channel stays visible.
  • Manual closing: /hours close closes a channel right away, with duration for an automatic reopening. For the scheduled channels or all:true (whole server), you need the “Manage Server” permission and a button confirmation that states the number of channels. /hours open reopens.
  • /hours pause suspends the schedule (special night) and /hours resume restarts it. A channel reopened by hand during a scheduled closing stays open until the end of the window. /hours status shows where things stand.
  • Robert regularly reconciles the wanted state with the real state: a channel added to a category is picked up, a channel removed from the schedule is reopened, and nothing is lost after a restart. It needs the “Manage Roles” permission.
  • Warning, closing and reopening messages are customisable with {time}, {reopen}, {count}. See the variables.
  • Plan limit: number of managed channels. Emergency locking (/lock, /lockdown) stays in the Moderation module.

Settings

SettingTypeDefault
Channels concerned
Channels with hours Channels —
Whole categoriesEvery channel in these categories follows the schedule (within the plan limit). Channels —
Channels never closed Channels —
Schedule
Apply the schedule automatically Toggle No
Closing time Time 23:00
Reopening time Time 07:00
Days the closing starts Multiple choice Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
Locking
Roles that are silencedEmpty: @everyone. Roles —
Roles that keep speaking during the closingThese roles get an explicit permission, removed at reopening. Roles —
Also deny reactions Toggle No
Also deny creating threads and messages in threads Toggle Yes
Maximum length of a manual closing Number (hours)1 – 336 24
Announcements
Info channel Channel —
Warning before closing0: no warning. Number (minutes)0 – 180 15
Warning message Message —
Closing message Message —
Reopening message Message —

Commands

/hours status

See the state of the channels with hours and the next closing

Manage Channels
/hours status
/hours close

Close a channel, the scheduled channels or the whole server (with confirmation)

Manage Channels
/hours close duration:2h reason:Meeting
/hours open

Reopen a channel, the scheduled channels or the whole server

Manage Channels
/hours open
/hours pause

Pause the automatic schedule (special night, event)

Manage Server
/hours pause duration:12h
/hours resume

Resume the automatic schedule

Manage Server
/hours resume

Limits per plan

FreePremiumProNetwork
Channels with opening hours1560150400