π§ Config
This command is used to configure multiple aspects and functionalities of the bot.
/config
Autodeleteβ
This feature will delete all messages according to the configuration after X
minutes.
/config autodelete
Enableβ
Adds an auto delete channel to the server.
/config autodelete enable
Parameters
*Required
channel*
type: Text Channel
description: The channel where the messages should be deleted
duration*
type: Number
description: The time until the messages are deleted (in minutes)
bots
type: Boolean
description: Whether to delete bot messages or not
default: True
pinned
type: Boolean
description: Whether to delete pinned messages or not
default: False
Example Usage
/config autodelete enable channel:#bot-commands duration:5
Disableβ
Removes a auto delete channel from the server.
/config autodelete disable
Parameters
*Required
channel*
type: Text Channel
description: The channel where the messages should be deleted
Example Usage
/config autodelete disable channel:#bot-commands
Bansβ
This feature will allow you to export and import bans from one server to another.
/config bans
Exportβ
Export the ban list from the server.
/config bans export
Parameters
*Required
format*
type: Option
description: Type of file to export the bans to
options: [ .csv File, .json File ]
Example Usage
/config bans export format:.csv File
Importβ
Import a ban list to the server.
/config bans import
Parameters
Both parameters in this command are optional, but you must provide at least one.
file
type: File
description: The file to import the bans from
You need upload a .csv
or .json
file previous exported via the /config bans export
command.
guild
type: GuildId
description: The GuildId to import bans from
Example Usage
- with File
- with Guild
/config bans import file:exportFile.json
/config bans import guild:1029352744999456859
Logsβ
This feature will allow you to setup channels to keep track of all the bans occurring on the server.
/config logs
Enableβ
Adds a log channel to the server.
/config logs enable
Parameters
*Required
channel*
type: Text Channel
description: The channel where the logs should be sent
Example Usage
/config logs enable channel:#logging
Disableβ
Removes a log channel from the server.
/config autodelete disable
Parameters
*Required
channel*
type: Text Channel
description: The channel where the logs are configured
Example Usage
/config logs disable channel:#logging
Panelβ
This feature is used to prevent raids, bot accounts (chat bots posing as real users) and malicious users with a unique verification system that will ask users to complete a challenge before having access to the rest of the server.
The system allows you to enable an badge check feature which consists in two parts:
Users that have the following badges will be automatically verified when joining | Users that have the following badges will be automatically verified upon request (no challenge needed) |
---|---|
DISCORD_EMPLOYEE BUGHUNTER_LEVEL_1 BUGHUNTER_LEVEL_2 PARTNERED_SERVER_OWNER DISCORD_CERTIFIED_MODERATOR | HYPESQUAD_EVENTS EARLY_SUPPORTER EARLY_VERIFIED_BOT_DEVELOPER |
It is also possible (and strongly suggested) to kick (ban is also possible) the user if they take longer than X
minutes to get verified.
/config panel
Createβ
Used to complete a full setup for the anti-bot system.
/config panel create
Parameters
*Required
role
type: Role
description: Role to apply to the member when verified
default: Will create a new role called "Verified Human"
badge_check
type: Boolean
description: Whether to enable or not the badge check
default: False
auto_prune_time
type: Number
description: Time limit for taking action for unverified users, in minutes
default: 30
auto_prune_action
type: Option
description: Action to take on unverified users
options: [ Disable, Kick, Ban ]
default: Disabled
Example Usage
- with Parameters
- without Parameters
/config panel create role:@Verified Human badge_check:True auto_prune_time:5 auto_prune_action:Kick
/config panel create
All the parameters are optional, if you do not specify them, the bot will create an anti-bot system with the default options.
Sendβ
In case you need to send or resend the anti-bot verification message.
/config panel send
Parameters
*Required
send_channel*
type: Text Channel
description: Channel to send anti-bot message to
language
type: Option
description: Language to send the message in
options: [ π¬π§ | English, π«π· | French, π΅πΉ | Portuguese, π·πΊ | Russian, πΊπ¦ | Ukrainian ]
default: π¬π§ | English
If you speak a language that is not currently supported by Sledgehammer, you can create an pull request with your translation on the Github repo.
Example Usage
- English Message
- Portuguese Message
/config panel send send_channel:#verify
or
/config panel send send_channel:#verify language:π¬π§ | English
/config panel send send_channel:#verify language:π΅πΉ | Portuguese
Updateβ
Used to update specific settings for the anti-bot system.
/config panel update
Parameters
*Required
role
type: Role
description: Role to apply to the member when verified
default: Use previously saved role
logs_channel
type: Text Channel
description: Channel to send log messages for the anti-bot system
default: Use previously saved channel
badge_check
type: Boolean
description: Whether to enable or not the badge check
default: Use previously saved value
auto_prune_time
type: Number
description: Time limit for taking action for unverified users, in minutes
default: Use previously saved value
auto_prune_action
type: Option
description: Action to take on unverified users
options: [ Disable, Kick, Ban ]
default: Use previously saved value
The auto prune action will only affect users without any role.
Example Usage
- Update one parameter
- Update multiple parameters
/config panel update auto_prune_time:1
/config panel update auto_prune_time:1 auto_prune_action:Disable
The parameters that weren't updated will be the previous ones.
Disableβ
Used to disable the anti-bot system.
/config panel disable
Reportβ
This feature will return you a report about the bot's configurations on the server.
/config report