> For the complete documentation index, see [llms.txt](https://mediocraty-itself.gitbook.io/rusttools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mediocraty-itself.gitbook.io/rusttools/discord-slash-commands/timer-commands.md).

# Timer commands

## - Creating simple timer

* `/timer basic <time>` - creates basic timer,as timer finishes bot will notify you in-game chat and discord channel that command was used. Time could be written with `s - seconds` `m - minutes` \
  `h - hours` , Example `3h20m`  / `1h24m25s`  / `2m30s` / `2m` . Max timer duration - `24 hours`.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2ForOWSRrj5IkaeaEXaXI9%2Fimage.png?alt=media&amp;token=09377bac-3e00-45ce-a314-9883457a789f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FzCJ3mHnK93Echao7PL3z%2Fimage.png?alt=media&amp;token=6201f9c8-811b-4116-aa2f-707dbdd72867" alt=""><figcaption></figcaption></figure>

## - Listing timers and  time remaining

* `/timer list` - returns timers with their names and time left on them

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FWp4eFcpuSsJDtmuESXot%2Fimage.png?alt=media&amp;token=8f509735-c37c-4923-816b-e512add25eda" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FwvZGDJxQsNCwXj2sv1ng%2Fimage.png?alt=media&amp;token=617b3306-5f3f-48e6-a760-fbcaa043d648" alt=""><figcaption></figcaption></figure>

## - Toggling switch by time

* `/timer switch <switch_name> <time> (on/off)` - toggles switch and after some time toggles back on. Argument on/off optional.Forces switch to end up at one of the states

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2F9vZ4k95cDqE2bY2tOMBO%2Fimage.png?alt=media&amp;token=65b0c518-e003-48af-84b3-196415ad43e7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2Fmmr4SoU94G7lcx2KJQmY%2Fimage.png?alt=media&amp;token=f99a9561-5b9a-442f-a6c2-91c2c433aa9e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FbLPNZGCtxxtYymNmOeiz%2Fimage.png?alt=media&amp;token=81788191-9e00-49e2-a7f1-99aa3431f579" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2F1mxNe4r8CFVXviN8bLsy%2Fimage.png?alt=media&amp;token=4549a343-cfe7-46e0-9bac-9bcd5c7d7bb2" alt=""><figcaption></figcaption></figure>

## - Toggling group of smart switches

* `/timer group <group_name> <time> (on/off)` - toggles group of switch for some state for period of time.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FP2LUCuYGt8ZCAiRbbvjQ%2Fimage.png?alt=media&amp;token=72710628-8f85-41af-8f11-d50b24054ac1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2Fnl73BvX8ewCugYotli4p%2Fimage.png?alt=media&amp;token=4e113817-793a-4ed9-b83a-00a5ebafebe5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2F7S6VX56acemU9t231FNu%2Fimage.png?alt=media&amp;token=537bc7fc-dac1-4451-893e-cb88663cb621" alt=""><figcaption></figcaption></figure>

## - Pausing timer

* `/timer pause <timer_name>`  - stops timer untill you resume it.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FIb5nAdA8DDT3A7A8DJSG%2Fimage.png?alt=media&amp;token=d2ae5cad-dc46-49e6-b782-b0f4cdb98007" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2F8xkSYRZv5hREvJVHbJsN%2Fimage.png?alt=media&amp;token=028a65b6-4373-4f2d-b09d-ad0d0050f5d6" alt=""><figcaption></figcaption></figure>

## - Continue timer

* `/timer resume <timer_name>` - continues paused timer.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FVhpYlkYK6CvdoamQ5vGk%2Fimage.png?alt=media&amp;token=25504bfa-fc68-40e1-ac13-9ad4219029a0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FfIQsk0wUrE4riAj9ddZj%2Fimage.png?alt=media&amp;token=44a1016e-0654-447a-bf6d-6c1b5241b8c4" alt=""><figcaption></figcaption></figure>

## - Deleting 1 timer

* `/timer clear <timer_name>` - removes timer from existing list&#x20;

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2Fpoa5UVE2Fckfqgh2eYuD%2Fimage.png?alt=media&amp;token=db95fd4f-1c45-4c3c-9eb3-daa7a0904f91" alt=""><figcaption></figcaption></figure>

## - Deleting all timers

* `/timer clear_all` - deletes all existing timers

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FvPy5xVDcYCMizcWyr4rM%2Fimage.png?alt=media&amp;token=44b3e4fe-3b5d-4f9a-baab-12a233ea57d2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2F7T7ppGHY7kZ46FdVHx2R%2Fimage.png?alt=media&amp;token=e3533139-5c82-428e-bd54-b08a47eaba9a" alt=""><figcaption></figcaption></figure>
