Quiz Module

class Quiz(*args: Any, **kwargs: Any)

A module to run LoveLive! quizzes within your guild. The questions database is still a WIP.

Attention

All commands assume minimum bot permissions: View Channel, Send Messages.

async quiz(ctx)

Start a LoveLive! quiz with customizable filters and options. Note: the question database is still a WIP.

Syntax:

!!quiz [<filters>]
Parameters:

filters (str, optional) – Optional filters to customize the quiz. Filters can include difficulty levels and categories. You can also specify the number of questions to ask.

  • If no filters are provided, the quiz will include questions from all available categories and difficulties, and default to 5 questions.

  • If filters are provided, they will be used to narrow down the questions. For example, easy or SIP to filter by difficulty or category, respectively.

  • The number of questions is defaulted to 5 unless specified otherwise in the filters.

Filter: Categories

  • SIP, Sunshine, Nijigasaki, Superstars, Hasunosora, SIM, Franchise, Live, Other

Filter: Difficulty

  • Easy, Medium, Hard, Expert

Example Usage:

!!quiz
!!quiz Easy SIP 10
Returns:

A quiz embed

Return type:

discord.Embed, discord.View

Permissions

Author: Administrator

Bot: Send Messages, Embed Links, Add Reactions, Manage Messages

async submit_quiz(ctx)

Submit a quiz question for review and inclusion in the LLR Quizzes. You will be guided through the submission process.

The following should be prepared beforehand:

  • Category: Select from available categories (SIP, Sunshine, Nijigasaki, Superstars, Hasunosora, SIM, Franchise, Live, Other).

  • Difficulty: Choose the difficulty level (Easy, Medium, Hard, Expert).

  • Question: Enter the quiz question.

  • Possible Answers: Provide 5 possible answers separated by commas.

  • Correct Answer: Specify the correct answer from the provided options.

  • Explanation: (Optional) Provide an explanation or source if required (particularly for ‘Expert’ difficulty questions).

  • Image URL: (Optional) Provide a direct URL to an image related to the question.

Syntax:

!!submit_quiz
Returns:

A guided submission process

Return type:

discord.Embed, discord.View

Permissions

Author Permissions: LLR

Bot Permissions: Send Messages, Embed Links, Add Reactions, Manage Messages