Extendable-Discord-Bot for Sharlayan
A list of commands
Find all users with a given role.
Find all users without any roles
Add any users without any roles to the specified role
Displays how long the user has been on the server, in days.
Kicks users with no roles and display a modlog entry. This command can be cancelled, but users already kicked will remain kicked. Duh.
This command calls the resolve functions
Calls resolveUser with the given parameters.
The user identifier. A username, nickname, or snowflake.
Setting to match the identifier exactly, or loosely. If set to false, the search will be done with String.startsWith and String.indexOf. If set to true, the search is done using ===.
Defaults to false.
Setting to return an array of matches, or a single match. If set to false, only one result, if any, is returned. If set to true, an array will be returned. If no results are found, the array will be empty.
Defaults to false.
The role identifier. A role name, or snowflake.
Setting to match the identifier exactly, or loosely. If set to false, the search will be done with String.startsWith and String.indexOf. If set to true, the search is done using ===.
Defaults to false.
Setting to return an array of matches, or a single match. If set to false, only one result, if any, is returned. If set to true, an array will be returned. If no results are found, the array will be empty.
Defaults to false.
Logs an object to the console.
Logs a user object with the given snowflake to the console
Logs a member object with the given snowflake to the console
Logs a role object with the given snowflake to the console
Search for an object
Search for role matching searchTerm, and return the index'th result.
The role to look for
The position in the list of results to return.
Retrieve an object
Retrieves the role with roleName and displays it
Reporting master command
Sharlayan Census.