Voting Module

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

Module to handle Featured Idol voting during LLR streams and other various tasks.

See also

Module is locked to the Love Live Radio (LLR) server.

Attention

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

async force_vote(ctx, idol: str = None)

Bypass all checks and force a valid vote.

Aliases: fv

Syntax:

!!force_vote <idol>

Example:

!!force_vote yoshiko
Returns:

Sends a confirmation message with the new vote details. Embed footer will confirm it has been a forced vote and the LLR Admin who issued it.

Return type:

discord.Embed

Permissions

Author: LLR Admin

async get_idol(ctx)

Show the last Featured Idol. Runs automatically during stream operations.

Aliases: lfi

Syntax:

!!get_idol
Returns:

The name and portrait of the last featured idol.

Return type:

discord.Message

Permissions

Author: LLR

async get_leader(ctx)

Get the current Leader including their debug details. Runs automatically during stream operations without debug details.

Syntax:

!!get_leader
Returns:

Information about the current Leader.

Return type:

discord.Message

Permissions

Author: LLR Admin

async leaderboard(ctx)

Show the current Top 10 Idol Leaderboard for the LLR Stream in progress.

Can only be run during an active LLR stream.

LLR Admin automatically bypasses checks.

Aliases: lb

Syntax:

!!leaderboard
Returns:

The current leaderboard showing the top idols and their vote counts.

Return type:

discord.Embed

Permissions

Author: LLR

async movevoting(ctx)

Move all votes from live_data to records. Runs automatically during win.

Syntax:

!!movevoting
Returns:

Confirmation message

Return type:

discord.Message

Permissions

Author: LLR Admin

async send_all_songs(ctx, option: int = None)

Show all unique songs in database, or ALL songs if option = 1.

Syntax:

!!send_all_songs [option]

Example:

!!send_all_songs
!!send_all_songs 1
Returns:

A list of all songs or unique songs, depending on the option provided.

Return type:

discord.Message

Permissions

Author: LLR Admin

async set_idol(ctx, name: str)

Overwrite the current LFI.

Syntax:

!!set_idol [name]

Example:

!!set_idol Chika
Parameters:
  • name – The name of the idol to set as the last featured idol.

  • type – str, required

Returns:

Confirmation message of the updated last featured idol.

Return type:

discord.Message

Permissions

Author: LLR Admin

async update_all_songs(ctx)

Updates the song list in Chiito with new data. Runs automatically before each stream.

Syntax:

!!update_all_songs
Returns:

An embed with the details of the updated song list.

Return type:

discord.Embed

Permissions

Author: LLR Admin

async vote(ctx, idol: str | None)

Vote for our next Featured Idol. Can only be run during an active LLR stream.

Syntax:

!!vote [idol]

Example:

!!vote kotori
Parameters:
  • idol – The name of the idol you wish to vote for. Must be the first name (e.g., mari, eli, kotori).

  • type – str, required

Returns:

Confirmation message of the vote and the result.

Return type:

discord.Embed

Permissions

Author: LLR

Bot: Manage Messages