Tools

Utility commands for grabbing information or doing actions that may not be directly related to Statbot features.

Usage Key

For commands that accept input, you'll see keys with the following:

  • <required> - parameters between <> must be included with the command
  • [optional] - parameters between [] are optional parameters and may be excluded
  • a | or | b - | means that you can use the parameters on either side of the symbol
  • repeat... - means that you can provide multiple parameters as input

These may be nested. Example: [parameter1 <parameter2>] means that the input is optional, but if you provide parameter1 then parameter2 is required. [parameter...] means that input is optional, and that the input can be any number of parameters.

Commands

rolelist

Count the number of members in the given roles. Optionally use -file to output to .tsv (tab-separated values) of all the members in the specified role(s).

Usage

s?rolelist
s?rolelist [roleName | @role | roleId] [role(s)...]

Supported Flags

-file // output results into .tsv

Examples

s?rolelist
s?rolelist roleA
s?rolelist roleA roleB
s?rolelist roleAId @roleB roleC
s?rolelist roleA -file

Aliases

listrole, listroles
info

Tab-separated is used because the role columns use commas to delineate the roles. You can open tsv files with programs like Google Sheets.

show activity

Get the exact name of the activity/application that a member in the server is currently interacting with. Used when requesting that new activities be added to Statbot's tracking list.

Usage

s?show activity
s?show activity <nickname | username | @user_mention | user_id>

Examples

s?show activity
s?show activity User
s?show activity @User#0000