create

📝 RADAR Documentation - Command: Create Proposal

🤝 Command Group: votes

📝 Command Name: create

📋 Parameters:

  • title (required: True) - The title of the proposal. (Type: string)

  • description (required: True) - The description of the proposal. (Type: string)

  • options (required: True) - Comma-separated list of options. Example: "Yes,No,Maybe". (Type: string)

  • mode (required: True) - Voting mode: NFT-Based, Role-Based, or Simple. (Type: string)

  • channel (required: False) - The channel where the proposal will be created. (Type: channel)

  • image (required: False) - Image URL for the proposal. (Type: string)

  • thumbnail (required: False) - Thumbnail URL for the proposal. (Type: string)

  • captcha (required: False) - Protect the proposal with a captcha. (Type: boolean)

  • password (required: False) - Protect the proposal with a password. (Type: string)

  • payment (required: False) - Protect the proposal with a SOL/SPL payment. (Type: boolean)

  • multi (required: False) - Allow users to vote for multiple options at once. (Type: boolean)

  • duration (required: False) - The deadline for voting. (Type: integer)

  • duration_unit (required: False) - The time unit of the duration. (Type: string)

📝 Description:

Create a proposal for voting.

🔍 Example Usage:

  • Create a proposal:

    !create --title "New Feature Proposal" --description "Vote for adding a new feature" --options "Yes,No" --mode "NFT-Based" --channel #voting-channel

    This command is used to create a proposal for voting. You need to provide the title and description of the proposal, a comma-separated list of options, the voting mode (NFT-Based, Role-Based, or Simple), and optionally specify the channel where the proposal will be created.

📝 Note:

  • This command allows you to create a proposal for voting in your Solana NFT community.

  • Specify the title parameter as the title of the proposal.

  • Specify the description parameter as the description of the proposal.

  • Specify the options parameter as a comma-separated list of options for the vote.

  • Specify the mode parameter as the voting mode: NFT-Based, Role-Based, or Simple.

  • Optionally, provide the channel parameter to specify the channel where the proposal will be created. If not provided, the default proposal channel for

Last updated