Moderation
iHorizon provides several commands at your disposal to help you moderate your server. From bans and kicks to timed mutes, warnings, and channel locks, everything a moderator needs is here. Most commands take an optional reason that iHorizon records and shows in your logs, so your team always has the context behind an action.
/mod
Subcommand for moderation category!
Subcommands
/mod ban— Ban a user!/mod baninfo— Check if user is banned and why/mod banlist— Show a list with all banned member/mod clear— Clear a amount of message in the channel !/mod mutelist— Show a list with all muted member/mod kick— Kick a user!/mod lock— Remove ability to speak of all users in this text channel!/mod lock-all— Remove ability to speak of all users in all channels!/mod unlock-all— Give ability to speak of all users in all channels!/mod tempmute— Temporarily mute a user!/mod unban— Unban a user!/mod unlock— Give ability to speak of all users in this text!/mod unmute— Unmute a user!/mod unmuteall— Unmute all muted members!/mod warn— warn a user/mod unwarn— unwarn a user/mod warnlist— show all warns of a user/mod warnconfig— Warning settings: expiry and automatic sanctions/mod clearwarn— clear all warns of a user/mod clear-all-warns— clear all warns of all users across the server/mod temprole— Give a role temporary to a server member/mod rolepanel— Give selected roles to a member through a panel/mod tempban— Temporarily ban a user from the server
/mod ban <member> [reason]
Ban a user!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | Yes | the member you want to ban | - |
reason |
String | No | the reason of the bannisement | - |
Requires the Ban Members permission
Only members with the Ban Members permission can use this command.
Permanently bans a member from the server. Add a reason to note why, for your logs and your team.
/mod baninfo <user>
Check if user is banned and why
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
user |
User | Yes | the member you want to check | - |
Requires the Ban Members permission
Only members with the Ban Members permission can use this command.
Shows the details of a ban for a user who is currently banned: the reason and the date of the ban (or that it is unknown).
/mod banlist
Show a list with all banned member
Requires the Manage Server permission
Only members with the Manage Server permission can use this command.
Lists everyone currently banned from the server, 10 per page with Previous and Next buttons that only you can use.
/mod clear <number> [member]
Clear a amount of message in the channel !
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
number |
Number | Yes | The number of message you want to delete ! | - |
member |
User | No | The member you want to delete the message | - |
Requires the Manage Messages permission
Only members with the Manage Messages permission can use this command.
Bulk-deletes messages in the current channel. Set number to how many to remove. Add a member to delete only that person's messages among the last ones, handy for cleaning up after a single spammer: iHorizon then looks through the last 1,000 messages of the channel to find theirs. Discord does not allow bulk-deleting messages older than 14 days, so those are skipped.
/mod mutelist
Show a list with all muted member
Requires the Timeout Members permission
Only members with the Timeout Members permission can use this command.
Lists every member who is currently muted, along with when their mute ends (in your own time zone). Long lists turn pages.
/mod kick <member> [reason]
Kick a user!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | Yes | the member you want to kick | - |
reason |
String | No | the reason of the kick | - |
Requires the Kick Members permission
Only members with the Kick Members permission can use this command.
Removes a member from the server. Unlike a ban, they can rejoin with a new invite, so a kick is a lighter warning shot. You cannot kick a member whose highest role is equal to or above yours.
/mod lock [role]
Remove ability to speak of all users in this text channel!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
role |
Role | No | The role | - |
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Locks the current channel so members can no longer send messages in it. By default it locks everyone; pass a role to lock only that role. Perfect for pausing a heated conversation or closing a channel during an event. Only the Send Messages and Connect permissions are changed: the rest of the channel's permissions for that role stay as they were.
/mod lock-all [role]
Remove ability to speak of all users in all channels!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
role |
Role | No | The role | - |
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Locks every channel on the server at once, the emergency button during a raid. Optionally target a single role.
/mod tempmute <user> <time> [reason]
Temporarily mute a user!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
user |
User | Yes | The user you want to unmuted | - |
time |
String | Yes | the duration of the user's tempmute | - |
reason |
String | No | the reason why you tempmuted | - |
Requires the Timeout Members permission
Only members with the Timeout Members permission can use this command.
Mutes a member for a set period, after which they can talk again automatically. Set time like 10m, 1h, or 2d. Great for a cool-down without a permanent punishment. You cannot mute a member whose highest role is equal to or above yours, unless you are the server owner.
/mod unban <userid> [reason]
Unban a user!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
userid |
String | Yes | The id of the user you want to unban ! | - |
reason |
String | No | The reason for unbanning this user. | - |
Requires the Ban Members permission
Only members with the Ban Members permission can use this command.
Removes a ban so the user can rejoin. Since a banned user isn't on the server anymore, you identify them by their user ID rather than by mention.
/mod unlock [role]
Give ability to speak of all users in this text!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
role |
Role | No | The role | - |
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Reopens a channel that was locked with /mod lock, letting members talk again.
/mod unmute <user>
Unmute a user!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
user |
User | Yes | The user you want to unmuted | - |
Requires the Timeout Members permission
Only members with the Timeout Members permission can use this command.
Lifts a member's mute right away, before it would expire on its own. You cannot unmute the server owner or a member ranked equal to or higher than you.
/mod warn <member> <reason> [note]
warn a user
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | Yes | The member you want to warn | - |
reason |
String | Yes | The reason why you want to warn this member | - |
note |
String | No | A private note for the staff (never sent to the member) | - |
Full guide
Warnings have their own section: how a warning works, expiry and active warnings, automatic sanctions, the warnings iHorizon adds by itself, the private message and the logs and a month on a real server.
Requires the Timeout Members permission
Only members with the Timeout Members permission can use this command.
Gives a member a formal warning with a required reason. Warnings are saved to their record, building a history you can review before deciding on tougher action. The member gets a card by private message with the reason and their number of active warnings; the optional note stays with the staff (history and logs only).
You cannot warn yourself, a bot, the server owner, or a member whose highest role is equal to or above yours. If the warning reaches a threshold set with /mod warnconfig, the matching sanction (timeout, kick or ban) is applied right away. A threshold timeout never shortens a longer timeout already running: that one is kept.
A log of the warning is posted in iHorizon's logs channel. If your server has none, it goes to a channel whose name contains mods, or else to the Moderation Logs channel set with /setlogs. A channel found by its name is only used if @everyone can't see it, so the staff note never lands in a public channel.
/mod unwarn <member> <warn-id>
unwarn a user
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | Yes | The member you want to unwarn | - |
warn-id |
String | Yes | The warn id | - |
Requires the Timeout Members permission
Only members with the Timeout Members permission can use this command.
Removes a single warning from a member. Find the warn-id with /mod warnlist, then pass it here to clear that specific entry. The removal is logged the same way as /mod warn: iHorizon's logs channel, otherwise a channel whose name contains mods (hidden from @everyone), otherwise the Moderation Logs channel.
/mod warnlist <member>
show all warns of a user
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | Yes | The member you want to lookup | - |
Requires the Timeout Members permission
Only members with the Timeout Members permission can use this command.
Shows all the warnings a member has received, each with its ID, reason and date, 5 per page.
/mod warnconfig [threshold] [sanction] [duration] [expire-days]
Warning settings: expiry and automatic sanctions
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
threshold |
Integer | No | Number of active warnings that triggers the sanction | - |
sanction |
String | No | The sanction at this threshold (none removes it) | Timeout → timeoutKick → kickBan → banNone (remove) → none |
duration |
String | No | Timeout length, e.g. 1h, 2d (timeout only) | - |
expire-days |
Integer | No | Warnings stop counting after this many days (0 = never) | - |
Full guide
Thresholds, the "exactly" rule and what happens when iHorizon can't sanction: Automatic sanctions. How expiry counts: Expiry and active warnings.
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Sets how warnings work on the server. Without options, it shows the current settings.
- Automatic sanctions:
threshold+sanctionsets what happens when a member reaches that number of active warnings: atimeout(with adurationfrom 1 minute to 28 days), akickor aban.sanction:noneremoves the threshold. Up to 10 thresholds; a threshold applies when a new warning brings the member's active warnings exactly to it. - Expiry:
expire-daysmakes warnings stop counting after that many days (0= never). An expired warning stays in the history, marked as expired.
Every warning counts, including the ones iHorizon adds by itself (anti-spam, timeouts…). To apply a sanction, iHorizon needs the matching permission and a role above the member; otherwise the warning is kept and the log says the sanction could not be applied. The same settings are in the dashboard, in the Warnings module.
/mod clearwarn <member>
clear all warns of a user
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | Yes | The member you want to clear | - |
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Clears all warnings from a single member, wiping their warning history clean. The staff log says who cleared how many warnings of whom, in the same channel as the warning logs.
/mod clear-all-warns
clear all warns of all users across the server
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Clears the warnings of every member on the server at once. This cannot be undone. The staff log says who did it, and how many warnings of how many members were removed.
/mod temprole <member> <role> <time> [reason]
Give a role temporary to a server member
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | Yes | The member you want to add the role | - |
role |
Role | Yes | The role you want to add to the member | - |
time |
String | Yes | The time the member will keep the role | - |
reason |
String | No | The reason why you added this role | - |
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Gives a member a role temporarily, then removes it automatically when the time runs out. Useful for trial roles, event access, or a timed perk. The role must be below your own highest role and must not carry permissions you don't have, and the member must be ranked below you (unless you are the server owner or the target is yourself).
/mod tempban <user> <duration> [reason]
Temporarily ban a user from the server
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
user |
User | Yes | The user you want to temporarily ban | - |
duration |
String | Yes | The duration of the ban (e.g., 1h, 3d, 1w) | - |
reason |
String | No | The reason for the ban | - |
Requires the Ban Members permission
Only members with the Ban Members permission can use this command.
Bans a member for a set duration, after which iHorizon lifts the ban on its own. A middle ground between a kick and a permanent ban.
/mod unlock-all [role]
Give ability to speak of all users in all channels!
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
role |
Role | No | The role | - |
Requires the Administrator permission
Only members with the Administrator permission can use this command.
Reopens every channel on the server at once, the counterpart to /mod lock-all. By default it unlocks everyone; pass a role to unlock only that role.
/mod unmuteall
Unmute all muted members!
Requires the Timeout Members permission
Only members with the Timeout Members permission can use this command.
Lifts the mute of every muted member on the server at once, the bulk counterpart to /mod unmute. iHorizon reports how many members it managed to unmute out of those it found, and tells you when nobody is muted. The server owner and members ranked equal to or higher than you are skipped.
/mod rolepanel [member]
Give selected roles to a member through a panel
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
member |
User | No | The member who will receive the roles | - |
Requires the Manage Roles permission
Only members with the Manage Roles permission can use this command.
Opens a panel to hand out roles without leaving the conversation. Pick up to 25 roles from the menu, then press the green button to apply them: every selected role the member already has is removed, and the others are added. Leave member out to work on your own roles.
iHorizon refuses the roles you should not be able to give away, and lists them in the panel with the reason: @everyone, roles managed by an integration, roles above iHorizon's own highest role, roles above yours (unless you own the server), and roles carrying permissions you do not have yourself. The panel answers only the member who opened it, and closes after four minutes.