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

/edit-raffle

Edit details of an existing raffle.

Previous/create-raffleNext/delete-raffle

Last updated 9 months ago

Server managers can use this command to edit an active or ended raffle in the Points Parlor. This command has the following customization parameters:

  • raffle_name - The name of the raffle.

  • raffle_description - [Optional] The description of the raffle.

  • ticket_price - [Optional] The price of a raffle ticket.

  • raffle_duration - [Optional] The duration of the raffle in hours.

  • maximum_tickets_per_user - [Optional] 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 edit the ticket price of Foxbyte NFT raffle to become 500 (from 100) and the total winners to become 2 (from 1).

IMPORTANT: If user attempts to edit a raffle without editing one of the optional raffle parameters, the following error message will be prompted:

🏪
🎟️