1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 18:03:12 +00:00

fix weird code

This commit is contained in:
wlinator 2024-08-22 23:18:48 +02:00
parent 70f2359b4e
commit 7d92fe6dbe

View file

@ -58,14 +58,7 @@ class Economy(commands.Cog):
)
@guild_only()
async def give_command_prefixed(self, ctx, user: discord.User, *, amount: int):
try:
member = await ctx.guild.fetch_member(user.id)
except discord.HTTPException as e:
raise commands.BadArgument(
"I couldn't find that user in this server.",
) from e
return await give.cmd(ctx, member, amount)
return await give.cmd(ctx, user, amount)
@bridge.bridge_command(
name="slots",