Skip to content

Panel crashes with dropdown questions without emoji/description choices #217

Description

@DJj123dj

Error Details:

It has something to do with the dropdown. Switching to another type doesn't create any errors.

Message from: Gabriele09089

i fixed the error was in you code becaus i dont put the emoji and description in the modal of the question it dosent let y ou start the bot..

Image Image
{
        /* A dropdown menu input modal question with up to 25 choices. "emoji" & "description" fields are optional. */
        "id":"koop-art",
        "name":"Art der Zusammenarbeit",
        "description":"", //Leave empty to disable
        "type":"dropdown",
        "required":true,
        
        "placeholder":"Wählen sie",
        "choices":[
            {"title":"Individueller Software-Auftrag (Custom Code)","description":"(Bitte beachten sie das diese nur begrenzt möglich ist)","emoji":""},
            {"title":"Sponsoring-Anfrage","description":"","emoji":""},
            {"title":"Langfristige Partnerschaft","description":"","emoji":""},
            {"title":"Sonstiges","description":"","emoji":""}
        ]
}

Possible Causes:

Probably something wrong with the empty "emoji" or "description" fields (can happen in or outside choices)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Major BugA large bug which disturbs the main functionality of the bot.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions