fix type for text option on /status command
This commit is contained in:
parent
8fa30420ef
commit
3c8a9add74
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ async def set_avatar(ctx: lightbulb.Context) -> None:
|
||||||
|
|
||||||
|
|
||||||
@plugin.command
|
@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.add_checks(lightbulb.owner_only)
|
||||||
@lightbulb.command("status", "set the bot status.", ephemeral=True)
|
@lightbulb.command("status", "set the bot status.", ephemeral=True)
|
||||||
@lightbulb.implements(lightbulb.SlashCommand)
|
@lightbulb.implements(lightbulb.SlashCommand)
|
||||||
|
|
Loading…
Reference in a new issue