๐ŸŽซRaffles

The raffles module in our Discord bot offers a versatile platform for both server managers and community members. Server managers have the capability to configure the Raffle UI embed, create new raffle events, delete existing raffle events, and modify event details as necessary. Community members can participate in raffle events, view information about ongoing or upcoming raffles, and check the status of past events using a convenient Raffle UI as shown below. View the full list of commands below:

๐Ÿ‘ฎ๐Ÿปโ€โ™‚๏ธ Server Manager Commands

Click each command to expand for more information on how to use it.

/raffle-ui - Set Raffle UI embed.

Use this command to set up an embed UI for the Raffle Center in a specific channel. The Raffle UI will allow users to check for all active or ended raffles as well as their balance.

This command allows the following customizations:

  • channel - The channel you'd like to post the Raffle UI embed.

  • raffle_ui_image_url - [Optional] URL of a custom image/gif you'd like to place on the Raffle embed to personalize it for your server.

  • raffle_ui_embed_text - [Optional] Custom text you'd like to add to the Raffle UI's embed.

/create-raffle - Create a new raffle.

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:

/delete-raffle - Delete a raffle from the server.

Server managers can use this command to delete either an active or ended raffle from the Raffle Center. This command has the following mandatory parameter:

  • raffle_name - The name of the raffle.

For example, using the command above will delete the raffle called Foxbyte NFT from the store.

IMPORTANT: If user misspells the raffle name or tries to delete a non-existing raffle, the following message will be prompted instead:

/edit-raffle - Edit details of an existing raffle.

Server managers can use this command to edit an active or ended raffle in the Raffle Center. 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 10 (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:

/raffle-info - View details of a raffle.

Server managers can use this command to view the details of a specific raffle without having to navigate the Raffle UI. This command has the following mandatory parameter:

  • raffle_name - The name of the raffle.

For example, using the command above will display the raffle information of Foxbyte NFT such as raffle name, description, ticket price, total winners, max tickets per user, draw time (in local time) and the total tickets sold.

IMPORTANT: If user misspells the raffle name or tries to view the info of a non-existing raffle, the following message will be prompted instead:

/logs-channel - View/Set logs channel for raffle winners.

When using the /logs-channel command, select the Other Logs option to set a log channel for raffle winners.

Last updated