Table of contents
- Mutes
- Usage
- Commands
- activemutes
- mute
- mutechannel
- muteset
- muteset autoupdate
- NOTE
- WARNING
- muteset defaulttime
- NOTE
- TIP
- muteset dm
- NOTE
- NOTE
- NOTE
- muteset makerole
- NOTE
- muteset notification
- NOTE
- muteset role
- NOTE
- NOTE
- muteset sendmutedm
- NOTE
- muteset sendunmutedm
- NOTE
- muteset settings
- NOTE
- TIP
- muteset showmoderator
- NOTE
- unmute
- unmutechannel
- timeout
- untimeout
- voicemute
- voiceunmute
This page is generated from
docs/cog_guides/mutes.rst- please edit the source file instead of this page.
Mutes
This is the cog guide for the mutes cog. You will find detailed docs about usage and commands.
[p] is considered as your prefix.
NOTE
To use this cog, load it by typing this:
[p]load mutes
Usage
Mute users temporarily or indefinitely.
Commands
activemutes
NOTE
This command is locked to the mod role.
Syntax
[p]activemutes
Description
Displays active mutes on this server.
mute
NOTE
This command is locked to the mod role.
Syntax
[p]mute <users...> [time_and_reason]
Description
Mute users.
Examples:
[p]mute @member1 @member2 spam 5 hours[p]mute @member1 3 days
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[time_and_reason]: The time and reason. If no time is provided, the mute will use the default set time or indefinite if this hasn't been configured.
mutechannel
NOTE
This command is locked to the mod role.
Syntax
[p]mutechannel <users...> [time_and_reason]
TIP
Alias: channelmute
Description
Mute a user in the current text channel (or in the parent of the current thread).
Examples:
[p]mutechannel @member1 @member2 spam 5 hours[p]mutechannel @member1 3 days
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[time_and_reason]: The time and reason. If no time is provided, the mute will use the default set time or indefinite if this hasn't been configured.
muteset
Syntax
[p]muteset
Description
Mute settings.
muteset autoupdate
NOTE
This command is locked to the admin role.
Syntax
[p]muteset autoupdate <true_or_false>
Description
Defines if the bot should auto-update new channels for the mute role.
If this is enabled, when a new channel is created on the server (text, voice or category), the bot will edit its permissions and deny the permissions of sending messages, adding reactions and speaking to the mute role.
WARNING
You must have configured a mute role with muteset role or muteset makerole before using this.
Arguments
<true_or_false>: Whether to enable or disable this setting, must providetrueorfalse.
muteset defaulttime
NOTE
This command is locked to the mod role.
Syntax
[p]muteset defaulttime [time]
TIP
Alias: muteset time
Description
Set the default mute time for the mute command.
If no time interval is provided this will be cleared.
Arguments
[time]: The length of time for a default mute.
muteset dm
Syntax
[p]muteset dm
Description
Settings for the optional extra field in mute DMs.
muteset dm muteextrafieldcontents
NOTE
This command is locked to the mod role.
Syntax
[p]muteset dm muteextrafieldcontents <contents>
Description
Set the contents for the optional extra embed field on mute.
Cannot be over 1024 characters long.
Arguments
<contents>: The contents of the extra embed field.
muteset dm muteextrafieldtitle
NOTE
This command is locked to the mod role.
Syntax
[p]muteset dm muteextrafieldtitle <title>
Description
Set the title for the optional extra embed field on mute.
Cannot be over 252 characters long.
Arguments
<title>: The title of the extra embed field.
muteset dm muteshowextrafield
NOTE
This command is locked to the mod role.
Syntax
[p]muteset dm muteshowextrafield [enabled]
Description
Toggle whether to show an extra customizable field when muting.
This can be used to add additional information for the muted user, such as a mute appeal link.
Use without arguments to check the current setting.
Arguments
[enabled]: Whether to enable or disable this setting, must providetrueorfalse.
muteset makerole
NOTE
This command is locked to the admin role.
Syntax
[p]muteset makerole <name>
Description
Create a Muted role.
This will create a role and apply overwrites to all available channels to more easily setup muting a user.
If you already have a muted role created on the server use
[p]muteset role ROLE_NAME_HERE
Arguments
<name>: The name of the muted role to create.
muteset notification
NOTE
This command is locked to the admin role.
Syntax
[p]muteset notification [channel]
Description
Set the notification channel for automatic unmute issues.
If no channel is provided this will be cleared and notifications about issues when unmuting users will not be sent anywhere.
Arguments
[channel]: The channel to receive unmute issue updates. You can either mention the channel, provide its exact name or its ID.
muteset role
NOTE
This command is locked to the admin role.
Syntax
[p]muteset role [role]
Description
Sets the role to be applied when muting a user.
If no role is setup the bot will attempt to mute a user by utilizing server timeouts.
NOTE
If no role is setup a user may be able to leave the server and rejoin no longer being muted.
Arguments
[role]: The role for muted users to receive. Please give the exact role name or ID, or it won't be detected.
muteset sendmutedm
NOTE
This command is locked to the mod role.
Syntax
[p]muteset sendmutedm <true_or_false>
Description
Set whether mute notifications should be sent to users in DMs.
This setting is independent of [p]muteset sendunmutedm, which controls
DM notifications for unmutes. Both can be toggled separately.
Arguments
<true_or_false>: Whether to enable or disable this setting, must providetrueorfalse.
muteset sendunmutedm
NOTE
This command is locked to the mod role.
Syntax
[p]muteset sendunmutedm <true_or_false>
Description
Set whether unmute notifications should be sent to users in DMs.
This setting is independent of [p]muteset sendmutedm, which controls
DM notifications for mutes. Both can be toggled separately.
Arguments
<true_or_false>: Whether to enable or disable this setting, must providetrueorfalse.
muteset settings
NOTE
This command is locked to the mod role.
Syntax
[p]muteset settings
TIP
Alias: muteset showsettings
Description
Shows the current mute settings for this guild.
muteset showmoderator
NOTE
This command is locked to the mod role.
Syntax
[p]muteset showmoderator <true_or_false>
Description
Decide whether the name of the moderator muting a user should be included in the DM to that user.
Arguments
<true_or_false>: Whether to enable or disable this setting, must providetrueorfalse.
unmute
NOTE
This command is locked to the mod role.
Syntax
[p]unmute <users...> [reason]
Description
Unmute users.
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[reason]: The reason for the unmute.
unmutechannel
NOTE
This command is locked to the mod role.
Syntax
[p]unmutechannel <users...> [reason]
TIP
Alias: channelunmute
Description
Unmute a user in this channel (or in the parent of this thread).
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[reason]: The reason for the unmute.
timeout
NOTE
This command is locked to the mod role.
Syntax
[p]timeout <users...> [time_and_reason]
Description
Timeout users.
Examples:
[p]timeout @member1 @member2 spam 5 hours[p]timeout @member1 3 days
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[time_and_reason]: The time and reason. If no time is provided, the mute will use the default set time or give an error if this hasn't been configured.
untimeout
NOTE
This command is locked to the mod role.
Syntax
[p]untimeout <users...> [reason]
Description
Remove a timeout from users.
Examples:
[p]untimeout @member1 @member2 appealed[p]untimeout @member1
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[reason]: The reason for removing the timeout.
voicemute
Syntax
[p]voicemute <users...> [time_and_reason]
Description
Mute a user in their current voice channel.
Examples:
[p]voicemute @member1 @member2 spam 5 hours[p]voicemute @member1 3 days
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[time_and_reason]: The time and reason. If no time is provided, the mute will use the default set time or indefinite if this hasn't been configured.
voiceunmute
Syntax
[p]voiceunmute <users...> [reason]
Description
Unmute a user in their current voice channel.
Arguments
<users...>: A space separated list of usernames, ID's, or mentions.[reason]: The reason for the unmute.
Installation Guides
- Installing Red
- Creating a bot account
- Updating Red
- Backing Up and Restoring Red
- About Virtual Environments
- Setting up auto-restart using batch on Windows
- Setting up auto-restart on Mac
- Setting up auto-restart using systemd on Linux
Cog Reference
User guides
- Getting started
- Running Red on Fluxer
- About Privileged Intents
- About public (big) bots
- Admin
- Alias
- Audio
- Cleanup
- Cog Manager UI
- Core
- CustomCommands
- Dev
- Downloader
- Economy
- Filter
- General
- Image
- Permissions
- Mod
- ModLog
- Mutes
- Reports
- Streams
- Trivia
- Warnings
- Red and End User Data
Cog Creation Guides
- Creating cogs for Red
- Slash Commands and Interactions
- Publishing cogs for Red
- Becoming an Approved Cog Creator
- Versioning
- End-user Guarantees
- Developer Guarantees
- Breaking Change Notices
Cog Development Framework Reference
- Shared API Keys
- Bank
- Bot
- Command Check Decorators
- App Command Check Decorators
- Commands Package
- App Commands Package
- Config
- Data Manager
- Custom Events
- Internationalization Framework
- Mod log
- RPC
- Tree
- Utility Functions
Others
Legacy (Red V2)