Night Mode
Night Mode is a security feature made by iHorizon that removes the Administrator permission from every role of your server during the hours you choose, and gives it back when the night ends. For example, if you are on a Discord server with many staff members, you might want to remove all admin permissions at night to prevent a raid, a theft of a Discord vanity link, etc. Then, iHorizon's night mode is made for you!
Full guide
How a night unfolds, who keeps Administrator, how roles are given back, and how night mode fits with Protection and the derogation role: Night mode & derogation.
/nightmode
Server owner only
Only the server owner can use this command.
Running this command opens the Night Mode configuration panel, a single menu where you set everything up. From it you can:
- Enable night mode: turn the whole feature on or off. Turning it off during the night gives Administrator back to the roles it took it from.
- Warn server owner: have iHorizon notify the owner by DM each time night mode starts or ends, with the list of roles changed.
- Configure night mode time range: set the start and end times (for example
23:00and08:00) during which the Administrator permission is removed. The range can cross midnight. - Derank bots: also take Administrator away from the bots' own roles during the night, since a compromised bot is a common attack vector. Pick the trusted bots that keep it in the Bots authorized to be admin during the night menu.
- Change timezone (UTC): pick your timezone so the time range fires at the right local time.
Press the ✅ button to save. The panel stays open 30 minutes.
iHorizon's role must be the highest one
Night mode only runs if iHorizon has the Administrator permission and its role is the highest role of the server. Otherwise nothing is changed, the owner is told why (once) if Warn server owner is on, and iHorizon tries again every minute until the problem is fixed. Only Administrator is removed: any other permission ticked on a role stays during the night.