Bdays Module
- class Bdays(*args: Any, **kwargs: Any)
Bases:
CogThis module handles all birthday-related commands and features for Love Live Radio guild.
It allows users to add, delete, and display their birthdays.
See also
Module is locked to the Love Live Radio (LLR) server.
Attention
All commands assume minimum bot permissions: View Channel, Send Messages.
- async idolized(ctx, search_name)
Return UR card for the Idol name given. Automatically runs for birthday announcements.
Syntax:
!!idolized <search_name>Example:
!!idolized umi- Returns:
A random UR card for the idol given.
- Return type:
discord.Message
- async bin(ctx, name=None)
Set or check bday idol name. To remove bday idol leave name param blank
Syntax:
!!bin [name]Example:
!!bin !!bin eli
- Parameters:
name (str, optional) – The idol name to set as birthday idol, if blank it will reset.
- Returns:
Update or removal confirmation message.
- Return type:
discord.Message
Attention
Author Permissions: LLR Admin
- birthday = <discord.app_commands.commands.Group object>
- async birthday_add(interaction: Interaction, day: int, month: str, timezone: str, idol: str)
Add user’s birthday with the given details.
Syntax:
/birthday add
- async birthday_delete(interaction: Interaction)
Delete user’s birthday entry.
Syntax:
/birthday delete
- async birthday_show(interaction: Interaction)
Show user’s registered birthday.
Syntax:
/birthday show
- async show_birthdays(ctx)
Return all member birthdays recorded in the database as user_id, date, tz, idol.
Aliases:
sbSyntax:
!!show_birthdays- Returns:
An embedded message with a list of all member birthdays.
- Return type:
discord.Embed
Attention
Author Permissions: Owner
- async birthday_export(ctx)
Export all member birthdays as a JSON file attachment.
Syntax:
!!birthday_exportAliases:
bday_export,export_birthdays- Returns:
A JSON file containing all member birthdays.
- Return type:
discord.File
Attention
Author Permissions: LLR Admin
- async birthday_recover(ctx)
Manually trigger a check for missed birthdays and activate them with adjusted role removal times. The missed time is calculated based on when this command is executed.
Syntax:
!!birthday_recoverAliases:
bday_recover- Returns:
A message indicating how many birthdays were activated.
- Return type:
discord.Message
Attention
Author Permissions: LLR Admin
- async birthday_force(ctx, member: Member)
Force the birthday message to activate for a user, even if it’s not their birthday.