Application Commands
Learn more about the available commands the application provides.
Legend, Keys, and Definitions
Command Parameters
<parameter-name-and-type>: Parameters surrounded by angle brackets (
<>
) are required to execute a slash command.[parameter-name-and-type]: Parameters surrounded by square brackets (
[]
) are optional when executing a slash command.
Command Permissions
Commands are marked with a colored or uncolored asterisk (*) to indicate the required permission(s) for execution. Here's a quick overview:
Uncolored asterisk (*): Command is executable by anybody who has access to it.
Blue asterisk (*): Command is executable by server staff members.
Green asterisk (*): Command is executable by server management members.
Red asterisk (*): Command is executable by server administrative members.
Yellow asterisk (*): Command is executable by members with specific roles or permissions. Further details will be provided in the command description later on the page.
Permissions Explained
Permissions Override
The Administrator permission takes precedence over all other permissions, such as Management or Staff. Any member with the Administrator permission is automatically considered part of management, and by extension, they are also considered staff members. The hierarchy of permissions is structured as follows:
Members with the Administrator permission.
Members with Management-level permissions.
Members with Staff-level permissions.
Members without any designated staff or management permissions, either through roles or application-specific settings. They are able to execute regular non-staff commands if they have access to them.
Slash Commands
Below is a categorized list of all commands available through the LAPD Central application, divided into sections for organization and more readability. The 'Ephemeral' field under each command title indicates whether the command's response is ephemeral (private) or non-ephemeral (public) within the server channel for normal responses.
Informative Commands
About (*) Command:
/about
Ephemeral: No Description: Provides quick information about the application.Help (*) Command:
/help
Ephemeral: No Description: Provides a redirect to the documentation page of LAPD Central to learn more about it.Ping (*) Command:
/ping
Ephemeral: Yes Description: Provides the current latency (ping) for both the application and websocket.Police Code (*) Command:
/police-code <code:Text>
Ephemeral: Yes Description: Provides details and information about a police radio code if possible. This includes usage contexts and examples.Weather (*) Command:
/weather [units: "metric" or "imperial"]
Ephemeral: No Description: Provides weather information for the city of Los Angeles at the time of execution, sourcing data from OpenWeather.MDT Lookup (*) Command:
/mdt lookup <name:Text>
Ephemeral: No Description: Provides recent violations or arrests to the target person. TODO: provide warrant status, recently owned vehicle, and last known location.MDT Incident Search (*) Command:
/mdt search incident <incident-num:Number>
Ephemeral: Yes Description: Returns the incident report information formatted and organized in an embed. This command is used in-case wanted to avoid going through a bunch of records in the log channel and get the details straight forward.MDT Citation Search (*) Command:
/mdt search citation <citation-num:Number>
Ephemeral: Yes Description: Returns information regarding a logged traffic citation in the database just by its number.MDT Arrest Search (*) Command:
/mdt search arrest <booking-num:Number>
Ephemeral: Yes Description: Returns information regarding a logged arrest in the database just by the booking number.Officer Activity (*) Command:
/activity for <officer:user> [since:DateTime]
Ephemeral: No Description: Provides activity information for a certain officer (server member), detailing their total shift time, arrests, citations, and reported incidents. Thesince
parameter is optional and can be used to specify the timeframe for the activity data requested.Activity Report (*) Command:
/activity report <since:DateTime> [time-requirement:Time] [shit-type:Text] [include-nicknames:Boolean]
Ephemeral: No Description: Provides an online-accessible Google Spreadsheet file that details each officer's total shift time, arrests made, arrests assisted, citations issued, quota completion status, and other relevant information.
Shift Management Module
Duty Manage (*) Command:
/duty manage [type:Text]
Ephemeral: No Description: Command to manage own shift with an optional parameter for specifying the shift type to manage. If no shift type is provided, the command will default to the server's preset type, or if unavailable, theDefault
shift type will be used.Duty Active (*) Command:
/duty active [type:Text]
Ephemeral: Data-based Description: Displays all personnel whose shifts are presently active, including their current duration on duty.Duty Void (*) Command:
/duty void
Ephemeral: Yes Description: Voids and deletes the currently active shift for the one who is executing the command. It would log a shift void execution and will not delete any logs for that shift but only delete it from database records.Duty Leaderboard (*) Command:
/duty leaderboard [type:Text]
Ephemeral: No Description: Lists all staff members who have shift time for exact shif type or for all shift types with their time in descending order. Members who are considered staff but do not have shift time are disregarded from the list.Duty End All (*) Command:
/duty end-all [type:Text]
Ephemeral: No Description: Forcefully end all currently active shifts, under specific shift type if needed.Duty Admin (*) Command:
/duty admin <member:User> [type:Text]
Ephemeral: No Description: Command to manage and administer the duty shift of somebody else. This includes ending a shift on behalf of the target member, deleting a certain shift record, listing all shift records, and other options.Duty Types (*)
Duty Types View Command:
/duty types view
Ephemeral: Yes Description: Shows all created shift types within the server; other than the default application shift type.Duty Type Create Command:
/duty types create <name:Text> [default:Boolean]
Ephemeral: No Description: Returns a prompt to create a duty shift type with the provided name and make it the default for the server if specified.Duty Type Delete Command:
/duty types delete <name:Text>
Ephemeral: No Description: Returns a prompt to delete a duty shift type with the provided name and make it inaccessible for usage by staff members.
Leave Notices Module
Leave of Absence Request (*) Command:
/loa request [duration:Time]
Ephemeral: Yes Description: Submits a leave of anbsence request for certain duration.Leave of Absence Manage (*) Command:
/loa manage
Ephemeral: Yes Description: Shows the leave of absence status for the one who runs the command. If applicable, prompts a way to cancel a leave or leave extension request that hasn't been reviewed yet by management staff.Leave of Absence Listing (*) Command:
/loa list [status: "Active" or "Pending"]
Ephemeral: No Description: Displays the server's leave of absence records with a specified status. The default status to show records for is "Active".Leave of Absence Administration (*) Command:
/loa admin <member:User>
Ephemeral: No Description: Provides the ability to manage and administer other members' leave of absence, including placing somebody on a leave without making them request one, early end a leave of absence, and approving or denying a request.
Duty Activities Module
Log Incident (*) Command:
/log incident <type:Text> <status:Text> <location:Text>
Ephemeral: Yes (Prompt) Description: Allows staff members to log any incident occurred during their shift to view them later on or so.Log Warning Citation (*) Command:
/log citation-warning <name:Text> <gender: "Male" or "Female"> <age:Text> <height:Text> <weight:Number> <eye-color:Text> <hair-color:Text> <license-num:Number> <commercial-lic:Boolean> <vehicle-plate:Text> <vehicle-model:Text> <vehicle-color:Text>
Ephemeral: Yes (Prompt) Description: Allows staff members to log warning citations they issue, including details and information about the violator. It also offers autocompletion for its parameters to simplify the process.Log Fine Citation (*) Command:
/log citation-fine <name:Text> <fine-amount:Number> <gender: "Male" or "Female"> <age:Text> <height:Text> <weight:Number> <eye-color:Text> <hair-color:Text> <license-num:Number> <commercial-lic:Boolean> <vehicle-plate:Text> <vehicle-model:Text> <vehicle-color:Text>
Ephemeral: Yes (Prompt) Description: Allows staff members to log the fines they issue while being on-duty so it can be accessible later on. Nearly the same as the/log citation-warning
command.Log Arrest (*) Command:
/log arrest <name:Text> <gender: "Male" or "Female"> <arrest-age:Text> <height:Text> <weight:Number>
Ephemeral: Yes (Prompt) Description: Allows staff members to log the arrests they make while being on-duty.
Utility and Miscellaneous Commands
Login (*) Command:
/log-in <username:Text>
Ephemeral: Yes Description: Allows staff members to link their Roblox accounts so that they be able to utilize certain commands.Logout (*) Command:
/log-out
Ephemeral: Yes Description: If already linked, unlinks the Roblox account for the one executing the command.Reverse Search (*) Command:
/reverse-search <roblox-username:Text> [ephemeral:Boolean]
Ephemeral: Optional Description: Shows who have the Roblox account with that specified username linked to their Discord account.Server Data Management (*) Command:
/server-data manage
Ephemeral: No Prmissions: TheManage Server
permission is required to be able to execute this command. Description: Manage logged server data, including shift and leave of absence records.Configuration (*) Command:
/config
Ephemeral: No Prmissions: Executing this command requires theManage Server
permission. Description: Update or modify application settings.Member Roles
Backup (*) Command:
/member-roles backup <member:User> [reason:Text]
Ephemeral: Yes Description: Saves and backups all currently assigned roles for a member. Useful when planning to revoke the assignement or deassignment of some roles automatically by one command.View (*) Command:
/member-roles view <member:User> <save:Text>
Ephemeral: No Description: Shows details about a backup/save made.List (*) Command:
/member-roles list <member:User>
Ephemeral: No Description: Lists all past backups or saves for a member.Load (*) Command:
/member-roles load <member:User> <save:Text>
Ephemeral: No Permissions: User requeired permissions areManage Server
andManage Roles
. Description: Assigns previously saved roles to a member. This command would not remove any unsaved roles and will keep it assigned.Delete (*) Command:
/member-roles delete <member:User> <save:Text>
Ephemeral: No Permissions: Requeired permissions areManage Server
andManage Roles
Description: Deletes and removes a backup or save record from the database.
Member Nicknames
Nicknames Search (*) Command:
/nicknames search <regex:Text> [flags:Text] [ephemeral:Boolean]
Ephemeral: Optional Description: Lists all members whose nicknames match the specified ECMAScript regular expression.Nicknames Replace (*) Command:
/nicknames replace <regex:Text> <replacement:Text> [flags:Text]
Ephemeral: No Description: Provides the ability to change and modify the nicknames of all matching members at once based on an ECMAScript regular expression and replacement text or expression.
Context Menu Commands
Update Incident Report (*)
Ephemeral: Yes Permissions: This command is executable by regular staff members if the incident was originally reported by them. However, it is executable by all management staff disregarding if it was reported by them or not. Description: Provides the ability to change and modify certain details in an incident report that was submitted.
Last updated