Zum Hauptinhalt springen

Info-Commands

Adds info-commands with information about specific parts of your server

Info-Befehle
Fügt viele Info-Commands zu deinen Server hinzu
Dieses Modul ist Open-Source.
Dieses Modul erstellt einen Haupt-Slash-Befehl auf deinem Server.
Dieses Modul eine verfügbare Konfigurationsdatei.
Dieses Modul wird auf über 3100 Servern auf SCNX aktiv verwendet.
Dieses Modul ist bei jedem Plan kostenlos dabei. Mehr über Preise erfahren.

Features

Setup

After enabling the module, the slash commands can be used on your server. You can customize the command answers in the configuration, but no additional setup is required.

Usage

Users and administrators can use any of the slash-commands to view information. Here's a short overview:

  • Use /info user to view information about a member of the server.
  • Use /info role to view information about a role on the server.
  • Use the /info channel to view information about a channel or thread on the server.
  • Use /info server to view information about the server.

Commands

Dokumentation Verstehen
In dieser Dokumentation bezeichnen wir eine verpflichtende Slash-Befehl-Option mit dem Namen name und dem Typen Typ als name:<Typ>. Optionen, die nicht Pflichtfelder sind, werden als [name:<Typ>] angegeben. Wenn sich die Aktionen eines Befehls zwischen Pflichtfeldern und Nicht-Pflichtfeldern sehr unterscheiden, listen wir sie eventuell separat.
Beispiele
  • /moderate ban user:<Mitglied>: Dieser Befehl (/moderate ban) hat nur eine verpflichtende Option mit dem Namen "user", die nur ein Mitglied akzeptiert.
  • /moderate ban victim:<Mitglied> reason:<Text>: Dieser Befehl (/moderate ban) hat eine Option mit dem Namen "victim" als Pflichtangabe, die nur ein Mitglied akzeptiert, und ein weiteres Pflichtfeld mit dem Namen "reason", das jeglichen Text als Wert akzeptiert.
  • /moderate ban victim:<Mitglied> reason:<Text> [proof:<Anhang>]: Dieser Befehl (/moderate ban) hat eine Option mit dem Namen "victim" als Pflichtangabe, die nur ein Mitglied akzeptiert, und ein weiteres Pflichtfeld mit dem Namen "reason", das jeglichen Text als Wert akzeptiert. Zusätzlich gibt es eine optionale Option mit dem Namen "proof", die einen Anhang als Wert akzeptiert.
CommandDescription
/info serverShows information about the server.
/info channel [channel:<Channel>]Shows information about a channel. If no value has been set in the "channel" parameter field, the current channel will be used.
/info role role:<Role>Shows information about the role selected in the "role" parameter field.
/info user [user:<User>]Shows information about a user on the server. If no value has been set in the "user" parameter field, information about the executing user will be shown.

Configuration

This module allows basic configuration of some visible field names in its configuration file.

FieldDescription
serverinfoThis field allows the customization of names used in the output of the /info server command.
userinfoThis field allows the customization of names used in the output of the /info user command.
channelInfoThis field allows the customization of names used in the output of the /info channel command.
roleInfoThis field allows the customization of names used in the output of the /info role command.
user_not_foundThis error message will be shown if a user has been selected that has not been found.
channel_not_foundThis error message will be shown if a user selected a channel that has not been found.
role_not_foundThis error message will be shown if a user selected a role that has not been found.

Troubleshooting

If an error is being shown when running a command, please make sure all fields of your configuration file has been set.