Skip to main content

Info-Commands

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

Info-Commands
Adds info-commands with information about specific parts of your server
This module is open-source.
This module creates one top-level Slash-Command on your server.
This module has one configuration file.
This module is being actively used on over 3.7K other servers on SCNX.
This module is included for free in every plan. Learn more about prices.

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

Understand the documentation
In these docs, name:<Type> is an option of a slash-command with name name and the type Type. Options that not required, are described as [name:<Type>]. If the action of a command is vastly different between required and not-required options, we might list them separately.
Examples
  • /moderate ban user:<Member>: This command (/moderate ban) has an required option with the name "user" that only accepts one member as a value.
  • /moderate ban victim:<Member> reason:<Text>: This command (/moderate ban) has an required option with the name "victim" that only accepts one member as a value and another required option with the name "reason" that accepts any text as an value.
  • /moderate ban victim:<Member> reason:<Text> [proof:<Attachment>]: This command (/moderate ban) has an required option with the name "victim" that only accepts one member as a value, another required option with the name "reason" that accepts any text as an value and a not-required option with the name "proof" which allows one attachment as its value.
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.