Chiipoints Module
- class Chiipoints(*args: Any, **kwargs: Any)
This module manages Chiipoints, an LLR currency system where users can spend, and manage their points.
Points are earned by participating in weekly LLR Streams on Discord.
Module is locked to the Love Live Radio (LLR) server.
See also
Module is locked to the Love Live Radio (LLR) server.
Attention
All commands assume minimum bot permissions: View Channel, Send Messages.
- async add_chiipoints(ctx: Context, member: Member = None, points: int = None)
Add Chiipoints to someone.
Aliases:
ac
Syntax:
!!add_chiipoints <member> <points>
Example:
!!ac @username 100
- Parameters:
member (discord.Member, required) – The member to whom Chiipoints will be added.
points (int, required) – The number of Chiipoints to add.
- Returns:
A confirmation message with the updated Chiipoints balance of the member.
- Return type:
discord.Message
- async balance(interaction: Interaction, member: Member = None)
Display your Chiipoints balance.
Syntax:
/chiipoints balance [member]
Example:
/chiipoints balance /chiipoints balance @username
- Parameters:
member (discord.Member, optional) – The member whose Chiipoints balance is to be displayed. If not provided, defaults to the command issuer.
- Returns:
A message displaying the Chiipoints balance of the specified member or the command issuer.
- Return type:
discord.Message
- async chiipoints_all(ctx)
Displays Chiipoints Leaderboard.
Aliases:
cplb
Syntax:
!!chiipoints_all
- Returns:
An interactive leaderboard displaying Chiipoints of all members.
- Return type:
discord.Embed, menus.ListPageSource
- async profile(interaction: Interaction, member: Member = None)
Display your Chii-chan profile and Chiipoints balance, or lookup another users.
Syntax:
/profile <member>
Example:
/profile /profile @user
- Parameters:
member (discord.Member, optional) – The member profile to look up. If 'None', defaults to command author.
- Returns:
Details regarding the members current Chiipoints, premium roles & more
- Return type:
discord.Embed
- async redeem(interaction: Interaction, reward: str)
The end-goal of Chiipoints is to be able to use them to redeem rewards during LLR streams.
Using this command will allow you to choose from various rewards to redeem.
Current rewards are in the form of being able to add Idol stickers directly into a live stream at the cost of 300 points per redemption.
Syntax:
/chiipoints redeem <reward>
Example:
/chiipoints redeem ruby
- Parameters:
reward (str, required) – The reward to redeem using Chiipoints.
- Returns:
A message confirming the redemption of the reward and displaying the remaining Chiipoints balance.
- Return type:
discord.Message
- async remove_chiipoints(ctx: Context, member: Member = None, points: int = None)
Remove Chiipoints from someone.
Aliases:
remc
Syntax:
!!remove_chiipoints <member> <points>
Example:
!!remc @username 50
- Parameters:
member (discord.Member, required) – The member from whom Chiipoints will be removed.
points (int, required) – The number of Chiipoints to remove.
- Returns:
A confirmation message with the updated Chiipoints balance of the member.
- Return type:
discord.Message
- async reset_all_chiipoints(ctx: Context)
Reset all Chiipoints to 0 for every member.
Aliases:
rac
Syntax:
!!reset_all_chiipoints
- Returns:
A confirmation message that all users’ Chiipoints have been reset.
- Return type:
discord.Message
- async reset_chiipoints(ctx: Context, member: Member = None)
Reset someone’s Chiipoints to 0.
Aliases:
rc
Syntax:
!!reset_chiipoints [member]
Example:
!!reset_chiipoints @username !!rc
- Parameters:
member (discord.Member, optional) – The member whose Chiipoints are to be reset. If not provided, the command resets the Chiipoints of the command issuer.
- Returns:
A confirmation message that the member’s Chiipoints have been reset.
- Return type:
discord.Message
- async test_points(ctx, points_cost: int = None)
Test use cases of Chiipoints.
Syntax:
!!test_points [points_cost]
Example:
!!test_points 100
- Parameters:
points_cost (int, optional) – The number of Chiipoints to test spending. Defaults to 60 if not provided.
- Returns:
A message confirming the spending of Chiipoints and displaying the remaining balance.
- Return type:
discord.Message