# Managing a Raffle

Raffle creators can manage active raffles through the /manage command.

## Accessing raffle management

{% stepper %}
{% step %}

### From a group

* If the raffle is in a group, type `/manage` in that group.
* Raffl Bot will open a private chat and show a list of your active raffles.
* Select the raffle you want to manage.
  {% endstep %}

{% step %}

### From the private chat

* After selecting a raffle, you'll see management action buttons.
  {% endstep %}
  {% endstepper %}

## Management actions

Available actions:

* End raffle\
  Ends the raffle immediately and draws a winner, as long as any minimum raise requirement is met.
* Cancel raffle\
  Cancels the raffle completely and refunds all participants.
* Update raffle (NEW)\
  Allows changing two settings while a raffle is active:
  * Enable a minimum if there is none
  * Change the existing minimum amount
  * Add more time using preset buttons
  * Enter a custom Unix timestamp for a precise end time

## Update flow

{% stepper %}
{% step %}

### Open Manage

Type `/manage` → select your raffle in the private chat.
{% endstep %}

{% step %}

### Choose Update

Tap the "Update" action button.
{% endstep %}

{% step %}

### Select setting to change

You can choose:

* Change minimum goal
* Change time
  {% endstep %}

{% step %}

### Enter new value

* Enter the new amount for the minimum goal, or
* Add more time using preset buttons or enter a custom Unix timestamp for a precise end time.
  {% endstep %}

{% step %}

### Confirmation

You will receive confirmation: "Raffle updated successfully"
{% endstep %}
{% endstepper %}

## Visual flow (interaction)

* /manage\
  ↓ Select raffle\
  ↓ Management actions: \[End raffle] \[Cancel] \[Update]\
  ↓ Update → \[Change minimum goal] \[Change time]\
  ↓ Enter new amount or time\
  ↓ Raffle updated successfully


---

# Agent Instructions: 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:

```
GET https://raffl.gitbook.io/raffl-docs/managing-a-raffle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
