> For the complete documentation index, see [llms.txt](https://docs.timecord.dev/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.timecord.dev/docs/general/patchnotes.md).

# Patchnotes

### Update 2.2 (Reliability & Payroll)

#### New

* **`/export`** (premium) - download a CSV of every employee's daily, weekly, monthly and all-time hours, ready for payroll.
* **`/timezone`** - set the timezone used to group daily, weekly and monthly stats, so totals match your team's calendar. See [Statistics & Time](/docs/guide/statistics-and-time.md).
* **`/tracking list`** - a paginated list of every hired employee, on-duty members first.

#### Reworked

* **`/leaderboard`** is now paginated, so it works on large servers.
* **Warnings expire automatically.** Expired warns stop counting and are cleaned up; `/info` and `/warn show` only show active ones.
* **Automatic clock-out** for forgotten shifts. Enable it in the dashboard to close sessions that stay open too long.
* **Correct weekly and timezone-aware stats.** Weekly totals now honor your configured week start, and all stats are grouped in your chosen timezone.
* **Full localization.** English and German are both complete; switch with `/language`.

#### Under the hood

* Major dependency update (discord.js, database driver, Stripe) and a large reliability pass: the bot now rides out brief database hiccups instead of restarting, shuts down cleanly, and no longer re-registers commands on every start.
* Long-term storage for old sessions keeps profiles fast without losing any all-time totals.
* A permanent audit log records every administrative action, even if the Discord log channel is deleted.

{% hint style="info" %}
Running your own dashboard or integration against the database? See the developer handoff for the schema changes in this update.
{% endhint %}

***

### Update 2.1 (TimeCord Release)

#### Breaking Changes

**Ranks** - Introducing the new rank system, see [Ranks](broken://pages/4SdD2jtqo9WeGxvyS6db).

**Settings** - A new dashboard page where you can change, edit and configure your bot as you like.

**Command Settings** - You can now configure every command. Go to **Settings → Commands** to enable/disable commands and choose whether only permitted users may use them.

**Autoroles** - Configure autoroles under **Settings → General**. If a user gains the specified role they are hired, and if the role is removed they are dismissed.

#### Bot Changes

See [Commands](/docs/guide/commands.md) for detailed explanations.

```
Legend
- -> REMOVED
+ -> ADDED
% -> REWORKED

Updates
+ /weekstart   -> Manage when a week resets
+ /leaderboard -> See top times
+ /timerequest -> Request a timechange

% /overview -> Fixed a known display bug
% /employee -> Fixed localization bugs
% /info     -> Added rank display
% /time     -> Reworked how time is added to a user
```

***

### Update 2.0

#### Breaking Changes

**Discord API v10** - Updating to discord.js v14 moves us to Discord API v10.

**TypeScript** - The bot was rewritten in TypeScript for type safety and cleaner error handling.

**Localization** - TimeCord now supports multiple languages, starting with German (`de`) and English (`en`). Want to add a language? Open a ticket.

**Payments & Subscriptions** - TimeCord uses a subscription model (monthly and yearly), and keeps one-time purchases (a 3-month option and a Lifetime one-time purchase).

**Performance & Sharding** - Commands, events and APIs were reworked for a large performance gain, and Discord sharding prerequisites are in place for future scaling.

**Script Support** - Script support for FiveM (Lua) is available, with RageMP and AltV in development. See [Script](/docs/guide/script.md).

#### Bot Changes

```
Legend
- -> REMOVED
+ -> ADDED
% -> REWORKED

Updates
+ /tracking -> Manage general tracking
+ /language -> Change language
+ /role     -> Bulk operations

- /delwarn       -> Moved to /warn
- /warns         -> Moved to /info
- /einstellenall -> Moved to /role
- /erfassungsstop -> Moved to /tracking
- /pinfo         -> Moved to /info
- /setup         -> Setup moved to dashboard
- /resetup       -> Setup moved to dashboard
- /stempelnachricht -> Added to /tracking
- /weekreset     -> Statistics are now managed automatically

% /overview -> See all stamped members
% /employee -> Manage employees
% /info     -> Displays information about a user
% /time     -> Manage time from users
```

Setting up the bot is now done in the [dashboard](/docs/general/getting-started.md).
