One or more of the following search terms may be combined to search for specific users.
- IMPORTANT on large databases, certain queries may take minutes to complete.
| Search term | Description | 
|---|---|
| user:USER | Search for USER. USER may be a numeric Discord ID or the Discord user name. All known aliases will be searched for matches. | 
| role:ROLE | Search for users with the Discord ROLE. | 
| notrole:ROLE | Search for users without the Discord ROLE. | 
| status:STATUS | Search for users where STATUS is active(a current member of the server),inactive (not a current member of the server),watchlist (on watchlist),troll (marked as troll),mediabanned (has a media ban),muted (is muted),alert (has a Discord alert flag),info (additional info from Discord is available). Note thatwatchlist,troll,mediabanned,alert, andinfo only query active users. Specific status flags can be searched by directly specifying the status flag name. Example: status:Spammer | 
| joined before:DATE | Search for users who joined earlier than DATE. See date localization. | 
| joined during:DATE | Search for users who joined on the day specified by DATE. See date localization. | 
| joined after:DATE | Search for users who joined after the specified DATE. See date localization. | 
| left before:DATE | Search for users who left earlier than DATE. See date localization. | 
| left during:DATE | Search for users who left on the day specified by DATE. See date localization. | 
| left after:DATE | Search for users who left after the specified DATE. See date localization. | 
| created after:DATE | Search for users who created their Discord accounts after DATE. See date localization. | 
| created before:DATE | Search for users who created their Discord accounts earlier than DATE. See date localization. | 
| new:TYPE | Search for new users or new accounts. | 
| order:reverse | Sort results in reverse order. | 
Partial date matches
Partial date matches will select the smallest matching date. Examples:
- 2020 will match the date January 1, 2020.
- March 2021 will match the date March 1, 2021.
Security
Searching users requires that the Bot user has the ‘View message logs’ authority.