> For the complete documentation index, see [llms.txt](https://safe-staker.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://safe-staker.gitbook.io/docs/features-and-configuration/points-parlor-setup/raffles-setup/create-raffle.md).

# /create-raffle

Create a new raffle in the Points Parlor.

Server managers can use this command to create a new raffle. This command has the following customization parameters:

* `raffle_name` - The name of the raffle.
* `raffle_description` - The description of the raffle.
* `ticket_price` - The price of a raffle ticket.
* `raffle_duration` - The duration of the raffle in hours.
* `maximum_tickets_per_user` - The maximum number of tickets a user can buy.
* `total_winners` - \[Optional] The total number of winning tickets (Default value: 1).
* `raffle_image_url` - \[Optional] URL of a custom image or GIF to be placed on the raffle embed

<figure><img src="https://3098633618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSyR57ToGMWWsDPrREBU%2Fuploads%2FBVyVmGCJkp96QNdaGVdE%2Fimage.png?alt=media&amp;token=48f84ff5-7702-4197-9f80-5fde56d7e005" alt=""><figcaption></figcaption></figure>

For example, using the command above will create a new raffle for Foxbyte NFT which lasts for 24 hours. A raffle ticket will cost 100 and each user can only buy a maximum of 10 tickets.

<figure><img src="https://3098633618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSyR57ToGMWWsDPrREBU%2Fuploads%2FyP3SsXlvoc9ZuJJ0ri4d%2Fimage.png?alt=media&amp;token=2c3fcf34-4fa4-4ad0-a2f3-2bbd0df6831a" alt="" width="395"><figcaption></figcaption></figure>

**IMPORTANT**: If user tries to create a new raffle with the same name as an already existing active raffle, the following message will be prompted instead:

<figure><img src="https://3098633618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSyR57ToGMWWsDPrREBU%2Fuploads%2FCbR6KG8gVUcG7yf489Rz%2Fimage.png?alt=media&amp;token=69e148f2-1c23-4d60-92ab-6e84e2d82e4e" alt="" width="461"><figcaption></figcaption></figure>
