Welcome to CoreMart!

By registering with us, you'll be able to discuss, share, download resources and private message with other members of our community.

Sign-Up Now!
Trivials | BrayanBot Addon

BrayanBot Source Trivials | BrayanBot Addon 1.0.0

1655526637162.png

Play trivials with different types of categories

This addon uses OTDB's API


Images
1655527257071.png

1655526813203.png

1655526824242.png





YAML:
Commands:
  Trivial:
    Usage: Use the slash command
    Description: Start the Akinator game
    Aliases: []
    Permission: []
    SlashCommand:
      Enabled: true
      Data:
        Name: trivial
        Description: Start the Akinator game
        Options:
          - Name: questions
            Type: Integer
            Description: The number of questions to ask
            Required: false
          - Name: category
            Type: String
            Description: The category to ask from
            Required: false
            Choices:
              - Name: General Knowledge
                Value: "9"
              - Name: "Entertainment: Books"
                Value: "10"
              - Name: "Entertainment: Film"
                Value: "11"
              - Name: "Entertainment: Music"
                Value: "12"
              - Name: "Entertainment: Musicals & Theatres"
                Value: "13"
              - Name: "Entertainment: Television"
                Value: "14"
              - Name: "Entertainment: Video Games"
                Value: "15"
              - Name: "Entertainment: Board Games"
                Value: "16"
              - Name: Science & Nature
                Value: "17"
              - Name: "Science: Computers"
                Value: "18"
              - Name: "Science: Mathematics"
                Value: "19"
              - Name: Mythology
                Value: "20"
              - Name: Sports
                Value: "21"
              - Name: Geography
                Value: "22"
              - Name: History
                Value: "23"
              - Name: Politics
                Value: "24"
              - Name: Art
                Value: "25"
              - Name: Celebrities
                Value: "26"
              - Name: Animals
                Value: "27"
              - Name: Vehicles
                Value: "28"
              - Name: "Entertainment: Comics"
                Value: "29"
              - Name: "Science: Gadgets"
                Value: "30"
              - Name: "Entertainment: Japanese Anime & Manga"
                Value: "31"
              - Name: "Entertainment: Cartoon & Animations"
                Value: "32"
          - Name: type
            Type: String
            Description: The type of question to ask
            Required: false
            Choices:
              - Name: Multiple
                Value: multiple
              - Name: Boolean
                Value: boolean
          - Name: difficulty
            Type: String
            Description: The difficulty of the questions
            Required: false
            Choices:
              - Name: Easy
                Value: easy
              - Name: Medium
                Value: medium
              - Name: Hard
                Value: hard



YAML:
Types:
  Boolean:
    Embeds:
      - Title: 🤔 True or False [ {index} / {total} ]
        Description: "> {question} ❓"
        Color: BLUE
        Timestamp: true
    Components:
      "1":
        - Type: Button
          Label: "True"
          CustomID: trivial-true
          Style: PRIMARY
        - Type: Button
          Label: "False"
          CustomID: trivial-false
          Style: DANGER
  Multiple:
    OptionsFormat: |
      **`•`** {index}. {option}
    Message:
      Embeds:
        - Title: "{question}"
          Color: BLUE
          Fields:
            - Name: "> Options [ `🤔` ]"
              Value: "{options}"
          Timestamp: true
          Footer: "{index} / {total} | Multiple Choice"
      Components:
        "1":
          - Type: SelectMenu
            Placeholder: Select an option
            CustomID: trivial-select
            # The bot will automatically add the options.
Answers:
  AnswersFormat: |
    **• {question}** [ `{correct}` ]
    > **A**: {answer}
    > **CA**: {correct-answer}
  Message:
    Content: <@{user-id}>
    Embeds:
      - Description: "{answers}"
        Timestamp: true
        Footer: Trival ended. | Answers



To get support for this addon contact to ElkinSantiana#0115
Author
Elkin S.
Type
Digital product
License duration
Unlimited
Price
4.99 USD
Views
278
First release
Last update

Ratings

0.00 star(s) 0 ratings
Back
Top