From 363eed91a30c60b34b53c47d5c99b40561f17c36 Mon Sep 17 00:00:00 2001 From: LightSage Date: Mon, 8 Jul 2024 07:50:01 -0500 Subject: [PATCH] Allow /avatar to be used in user installs --- lightning/cogs/info/discord_meta.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightning/cogs/info/discord_meta.py b/lightning/cogs/info/discord_meta.py index 1fbdf178..4a2aaab9 100644 --- a/lightning/cogs/info/discord_meta.py +++ b/lightning/cogs/info/discord_meta.py @@ -33,6 +33,8 @@ class DiscordMeta(LightningCog): @hybrid_command(aliases=['avy'], usage='[member=]') @app_commands.describe(member="The person to look up the avatar for (defaults to you)") + @app_commands.allowed_installs(users=True, guilds=True) + @app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True) async def avatar(self, ctx: LightningContext, *, member: Annotated[Union[discord.Member, discord.User], GuildorNonGuildUser] = None) -> None: