-
-
Notifications
You must be signed in to change notification settings - Fork 1
Command Documentation
- The as BotAdmin defined user can perform any command even without any permission in the database
- Any User that has the permission ExecuteCommands. Every User added to Database gets assigned to the Role "Default-User" by default, which contains the ExecuteCommands permission per default.
Any command requires at least the ExecuteCommands permission. You can exclude any users, except BotAdmin, from executing commands by revoking their ExecuteCommands permission.
If no Alias is mentioned the command doesn't have any aliases.
If no Parameters is mentioned the command doesn't take any parameters.
If no Acceptance is mentioned the command is accepted in both private and public channels.
If no Requirements is mentioned the ExecuteCommands permission is the minimum requirement to execute it.
Words defined here will be highlighted with bold and italic.
currentUser: The user who interacted with the bot using some of the bot commands below.
BotAdmin: The user who is defined to be the owner or administrator of the bot. Already used above.
Role: A role that was assigned to a user or a group which gives them specific permissions for executing commands using the bot. Unrelated to discord roles.
Permission: A permission required for executing some command using the bot. Unrelated to discord permissions
Status: supported since v2.3
Description: Returns an Embed with nation stats
Data: Category, Demonym2Plural, Flag, Fullname, Population, Region, Founded, LastActivity, Influence, WA-Status, Civil Rights, Economy, Political Freedom, EndorsementCount, Residency
Status: supported since v2.4
Description: Returns an Embed with region stats
Data: Name, NumNations, Delegate, DelegateInfluence, DelegateEndorsementCount, Founder, Founded, Flag, Power, Tags
Status: supported since v2.2
Description: Returns an Embed with current status information
Status: supported since v2.2
Description: Returns an Embed with current status information
Status: supported since v2.1
Description: Sets the bot to nonreactive mode, for using production and development bots in parallel
Parameters: none
Requirements: BotAdmin only
Status: supported since v2.1
Description: Sets the bot into reactive mode, for using production and development bots in parallel
Requirements: BotAdmin only
Status: supported since v2.0
Description: Shuts the bot down, stops recruitment, logs it out of discord and exits the application
Requirements: BotAdmin only
Status: supported since v2.0
Description: Returns permissions of a specified User
Parameters: string discordUserId
Requirements: ManagePermissions permission
Remarks: Response is only sent in private channel. If no private channel with currentUser exists one will be created.
Planned:
- Support of mentions
- Returning roles currently assigned to that user
- Showing the source of that permission
Status: supported since v2.0
Description: Returns all users who have been explicitly granted a specified permission
Parameters: int permissionId
Requirements: ManagePermissions permission
Remarks: Response is only sent in private channel. If no private channel with currentUser exists one will be created.
Planned:
- Support of permission names
- Support of role permissions
- Showing the source of that permission
Status: supported since v2.0
Description: Explicitly grants a specified permission to a user.
Parameters: string discordUserId, int permissionId
Acceptance: in private channels only -> sending in public channels will cause the bot to delete the message and contact currentUser via a private channel.
Requirements: ManagePermissions permission
Remarks: Response is only sent in private channel. If no private channel with currentUser exists one will be created.
Planned:
- Support of mentions
- Support of permission names
- Grant of permissions to roles
Status: supported since v2.0 (changed in v2.5 to no paramters)
Description: Refresh the nation database for recruitment. Replies with the result of the action.
Parameters: (no parameters since v2.5) string type, can be 'all','rejected' or 'new'
Requirements: AccessPending permission
Status: supported since v2.0
Description: Starts the recruitment process
Requirements: ManagePermissions permission
Status: supported since v2.0
Description: Stops the recruitment process
Requirements: ManagePermissions permission