Configuration Commands

Configuration Commands

Configurations Commands

This subcommand group is used to set core elements of the config.

/config init

This command will set the server API key to activate GS Defender services.

/config view

This subcommand group allows viewing various elements of your config.

Member Validation Configuration

This subcommand group is designed for configuring member validation settings.

/config set member-role

This command will set the role to be assigned to members after the verification process (member’s scan a QR code and link a valid GS profile).

  • Role (required)

/config set embed

This command will create a embed for users authenticate by button.

  • Language (required)
  • Channel (required)

Staff Validation Configuration

This subcommand group is designed for configuring staff validation settings.

/config set staff-role

This command will set the role to be assigned to staff members after the verification process (member’s scan a QR code and link a valid GS profile). If you have premium you can set more than 1 role.

  • Role (required)

/config remove staff-role

This command will remove the role assigned as the staff role.

  • Role (required)

/config set auth-expiration

This command will set for how long a staff authentication will be valid. After this interval the role assigned to the staff member will be removed and a new authentication is required to re-assign the role. Possible arguments you can apply:

  • Interval (required)
    • Daily
    • Weekly
    • Monthly
    • Annual

Adult & Doc ID Validation Configuration

This subcommand group is designed for configuring adult & Doc ID validation settings.

/config set adult-role

This command will set the role to be assigned to members perceived as Adults by GS computer vision algorithms. When creating their GS profile users self-declare their age and the algorithm assign a confidence score (more details in the command /set confidence-score):

  • Role (required)

/config set adult-document-verified-role

This command will set the role to be assigned to members who provide their ID in the GamerSafer App and are eighteen years old or older.

  • Role (required)

/config set document-verified-role

This command will set the role to be assigned to members who provide their ID in GamerSafer App.

  • Role (required)

/config set confidence-score

This command will set the minimum confidence score to assign an Adult role to a member response for the link categories within your config. It has several arguments you can apply:

  • Confidence (required)
    • High (all algorithms perceived age matches Adult self-declared information)
    • Medium (at least one algorithm perceived age matches Adult self-declared information)
    • Low (algorithms perceived age does not match Adult self-declared information, meaning the server will trust self-declaration only)

Link Scanning Configuration

This subcommand group is used to set core elements of link scanning.

/config scan

This command manages how GS Defender scans links on the server.

  • Options (required)
    • Bots (Whether messages sent by other bots will be managed)
    • Webhooks (Whether messages sent by webhooks will be managed)

/config permissions

This command defines how GS Defender acts based on the server channel's permissions.

  • Options (required)
    • Auto-delete (Messages with links will be automatically deleted if the channel has the "Send Links" permission disabled)

/config safety

This command sets responses for each security level. It has four types of scanning to be configured: Safety, Suspicious, Danger, and Unknown.

  • Options (required)
    • Type (Choose one of the four types of link scanning: Safety, Suspicious, Danger, and Unknown)
    • Answer (Choose a punishment for the selected type such as ban, kick, mute, react to message, and none)
    • Log (Whether this type should be logged to the logging channel)
    • Delete (Whether this type should be automatically deleted)
    • Duration (If mute option is enabled, set the duration)

Logging Configuration

This subcommand group is designed for logging settings.

/config set logging

This command will create a logging authentication.

  • Channel (required)
  • Language (required)