Safe Staker Documentation
  • Overview
    • ❓What is Safe Staker?
    • 🌎Official Links
    • 🤑Earn by Referrals
  • Admin Setup Guide
    • ⚙️Getting Started
    • 🖼️NFT Staking Setup
      • 🟥/set-nft-collection
      • 🟦/nft-staking-reward
      • 🟦/nft-staking-duration
    • 🪙Token Staking Setup
      • 🟥/set-token-address
      • 🟦/token-staking-reward
      • 🟦/token-staking-duration
    • 💲Reward Currency Setup
    • 🥩Staking UI Setup
      • 🟦/staking-ui
    • 🏪Points Parlor Setup
      • 🟦/points-parlor-ui
      • 🎟️Raffles - setup
        • /create-raffle
        • /edit-raffle
        • /delete-raffle
      • 🏪Store - setup
        • /add-item
        • /delete-item
        • /edit-item
        • /item-info
        • /store
    • 🚅Staking Boosters
      • 🐦Tweet Booster
      • 🫧Chat Booster
      • 😀Reaction Booster
      • 🧵Role Booster
    • 🏄Staking Types
      • Periodic Staking
      • Cumulative Staking
    • 📬DAO Voting
    • 🧬Holder Verification ᵇᵉᵗᵃ
    • 📕Logs, Reports & more
      • 🟦/logs-channel
      • 🟦/csv-reports
      • 🟥/set-rpc
      • 🟥/reset-all-points
      • 🟥/add-points
      • 🟥/remove-points
  • User Guide
    • 🟩/link-wallet
    • 🟩/stake-nfts
    • 🟩/stake-tokens
    • 🟩/points
    • 🟩/leaderboard
  • NFT Minting
    • 🍀Minting Portal
    • 🖼️NFT Collection Creation
  • Phase 2 Features
    • Planned features
Powered by GitBook
On this page
  1. Admin Setup Guide
  2. Points Parlor Setup
  3. Raffles - setup

/create-raffle

Create a new raffle in the Points Parlor.

PreviousRaffles - setupNext/edit-raffle

Last updated 9 months ago

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

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.

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:

🏪
🎟️