Music Module
- class Music(*args: Any, **kwargs: Any)
Handle commands related to the 24/7 radio functionality, including song management, playback control, and queue management. This feature and its commands are locked to Love Live Radio.
See also
Module is locked to the Love Live Radio (LLR) server.
Attention
All commands assume minimum bot permissions: View Channel, Send Messages.
- async dplay(ctx)
Prepare the bot for continuous playback. Joins the voice channel.
Aliases: dp
Syntax:
!!dplay
- Returns:
A message indicating the bot’s playback status or an error if the bot fails to join a voice channel.
- Return type:
discord.Message
- async dqueue(ctx, *, song_name: str = None)
Add a song to the queue, or view the current queue.
Aliases: dq
Syntax:
!!dqueue [song name]
Example:
!!dq !!dq happy party train
- Parameters:
song_name (str, optional) – The name of the song you wish to add to the queue
- Returns:
A message displaying the current queue or confirmation that a song has been added to the queue.
- Return type:
discord.Message
- async force_vc_disconnect(ctx)
Force disconnect Chii-chan from all voice channels.
Aliases: fvcdc
Syntax:
!!force_vc_disconnect
- Returns:
A message indicating that Chii-chan has been forcefully disconnected from all voice channels, or that no connections were found.
- Return type:
discord.Message
- async now_playing(ctx)
24/7: Show the currently playing song.
Aliases:
dnp
Syntax:
!!now_playing
- Returns:
A message displaying the currently playing song or indicating that no song is playing.
- Return type:
discord.Message
- async radio247info(ctx)
Information regarding the 24/7 radio channel.
Aliases: 247info, 24/7, 24/7info, chiitoradio, 24-7-info
Syntax:
!!radio247info
- Returns:
Information about the 24/7 radio channel and how to interact with it.
- Return type:
discord.Message
- async set_skip_ratio(ctx, ratio: float)
Set the skip ratio for skipping songs. Default is 0.5
Syntax:
!!set_skip_ratio <ratio>
Example:
!!set_skip_ratio 0.5
- Parameters:
ratio (float, required) – The ratio to set for skipping songs. Must be between 0 and 1.
- Returns:
A confirmation message that the skip ratio has been set or an error message if the ratio is invalid.
- Return type:
discord.Message
- async skip(ctx, force=None)
Skip to the next song in the queue. Initiates a vote if there are multiple listeners.
Votes required are dependant on users inside the channel. Timeout for skips is 30 second.
See also
LLR Admin can bypass votes and force skip by adding
true
.Syntax:
!!skip [force]
Example:
!!skip !!skip true
- Parameters:
force (bool, optional) – set
True
to force skip. Requires LLR Admin.- Returns:
Skip initiation message and details regarding the skip or votes.
- Return type:
discord.Message
- async stop(ctx)
24/7: Stops any songs and exits the voice channel.
Syntax:
!!stop
- Returns:
A message indicating the bot has stopped playback and left the voice channel, or an error message if the bot is not in a voice channel.
- Return type:
discord.Message