> For the complete documentation index, see [llms.txt](https://csrpmoddocs.officialcaliforniastateroleplay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://csrpmoddocs.officialcaliforniastateroleplay.com/bot-commands/shifts.md).

# Shifts

Shifts are how the system knows who is working and for how long. A member goes on duty, the bot applies the on-duty role and nickname prefix, and the clock runs until they go off duty. Time counts towards their quota automatically.

Breaks pause the clock rather than ending the shift, so stepping away for ten minutes does not cost somebody a whole shift.

Every shift is kept, which is what makes quotas and activity waves possible: a member behind on quota can be shown exactly which periods they missed. Management can force-end, void or adjust a shift from the dashboard when something goes wrong.

See also [Shift Management](/dashboard/staff.md#shift-management) for quotas and shift types, and [Shift Waves](/dashboard/staff.md#shift-waves) for fixed periods that clear shifts and keep rankings.

## Commands

| Command             | Aliases | Who can use it | What it does                                               |
| ------------------- | ------- | -------------- | ---------------------------------------------------------- |
| `>duty time`        | —       | Staff          | Allows you to check your shift time, as well as past data. |
| `>duty admin`       | —       | Admin          | Allows for you to administrate someone else's shift        |
| `>duty manage`      | —       | Staff          | Manage your own shift in an easy way!                      |
| `>duty active`      | —       | Staff          | Get all members of the server currently on shift.          |
| `>duty leaderboard` | `lb`    | Staff          | Get the total time worked for the whole of the staff team. |
| `>duty history`     | `h`     | Admin          | Show all past shifts of user by shift type                 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://csrpmoddocs.officialcaliforniastateroleplay.com/bot-commands/shifts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
