fix type for text option on /status command

This commit is contained in:
Riley Housden 2022-08-21 18:37:02 -04:00
parent 8fa30420ef
commit 3c8a9add74
Signed by: InValidFire
GPG key ID: 0D6208F6DF56B4D8

View file

@ -17,7 +17,7 @@ async def set_avatar(ctx: lightbulb.Context) -> None:
@plugin.command
@lightbulb.option("text", "text to set as custom status", type=hikari.Attachment, required=True)
@lightbulb.option("text", "text to set as custom status", type=str, required=True)
@lightbulb.add_checks(lightbulb.owner_only)
@lightbulb.command("status", "set the bot status.", ephemeral=True)
@lightbulb.implements(lightbulb.SlashCommand)