From 3c8a9add741cd50468d231b6353b502e2694af24 Mon Sep 17 00:00:00 2001 From: Riley Housden Date: Sun, 21 Aug 2022 18:37:02 -0400 Subject: [PATCH] fix type for text option on /status command --- ext/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/profile.py b/ext/profile.py index 601471b..e16e8f9 100644 --- a/ext/profile.py +++ b/ext/profile.py @@ -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)