Skip to main content

πŸ”§ 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 a auto delete channel to the list

/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 list.

/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 import and export bans from the server.

/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

guild

type: String

description: The guild ID to import bans from or leave empty to import from file

Example Usage

/config bans import guild:966723419775311882

Logs​

This feature will allow you to setup channels to keep track of all the bans occurring on the server.

/config logs

Parameters

*Required

channel*

type: Text Channel

description: The channel to add to log events.

enabled*

type: Boolean

description: Whether this channel will receive logging messages or not.

Example Usage

/config logs channel:#sledge-logs enabled:True

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 easy verification feature which consists in two parts:

Users that have the following badges will be automatically verified when joiningUsers 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"

easy_verification

type: Boolean

description: Whether to enable or not the easy verification

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

/config panel create role:@Verified Human easy_verification:True auto_prune_time:5 auto_prune_action:Kick

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 (πŸ‡¬πŸ‡§), Portuguese (πŸ‡΅πŸ‡Ή), Ukrainian (πŸ‡ΊπŸ‡¦), Russian (πŸ‡·πŸ‡Ί), French (πŸ‡«πŸ‡·) ]

default: English (πŸ‡¬πŸ‡§)
info

If you speak a language that is not currently supported by Sledgehammer, you can create an pull request with your language on the Github repo.

Example Usage

/config panel send send_channel:#verify

or

/config panel send send_channel:#verify language:English

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

easy_verification

type: Boolean

description: Whether to enable or not the easy verification

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
info

The auto prune action will only affect users without any role.

Example Usage

/config panel update auto_prune_time:1
note

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