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:
parent
70f2359b4e
commit
7d92fe6dbe
1 changed files with 1 additions and 8 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue