Skip to content

Commit

Permalink
Fix emoji conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Mar 9, 2024
1 parent 3343a6b commit c27f517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/role_buttons.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ async def rolebutton_del(ctx: SnedSlashContext, button_id: int) -> None:
@lightbulb.option(
"label", "Change the label that should appear on the button. Type 'removelabel' to remove it.", required=False
)
@lightbulb.option("emoji", "Change the emoji that should appear in the button.", type=hikari.Emoji, required=False)
@lightbulb.option("emoji", "Change the emoji that should appear in the button.", type=str, required=False)
@lightbulb.option("role", "Change the role handed out by this button.", type=hikari.Role, required=False)
@lightbulb.option(
"button_id", "The ID of the rolebutton to edit. You can get this via /rolebutton list", type=int, min_value=0
Expand Down

0 comments on commit c27f517

Please sign in to comment.