Skip to content

Commit

Permalink
Update meme.py with lick meme v2
Browse files Browse the repository at this point in the history
I used a web-based version of Black to fix the parsing error but couldn't get it to register the commands while indented?
  • Loading branch information
Aceofgods committed May 23, 2023
1 parent 3aba0b7 commit 86b5b9f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions robocop_ng/cogs/meme.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@ async def warm_member(self, ctx, user: Optional[discord.Member]):
f"({fahrenheit}°F, {kelvin}K)."
)

@commands.check(check_if_staff_or_ot)
@commands.command(hidden=True, name="lick")
async def licky(self, ctx, user: Optional[discord.Member]):
"""licks a user :?"""
if user is None and ctx.message.reference is None:
await ctx.send(f"{ctx.author.mention} licks their lips! 👅")
else:
if user is None:
user = (
await ctx.channel.fetch_message(ctx.message.reference.message_id)
).author
await ctx.send(f"{user.mention} has been licked! 👅")
@commands.check(check_if_staff_or_ot)
@commands.command(hidden=True, name="lick")
async def licky(self, ctx, user: Optional[discord.Member]):
"""licks a user :?"""
if user is None and ctx.message.reference is None:
await ctx.send(f"{ctx.author.mention} licks their lips! 👅")
else:
if user is None:
user = (
await ctx.channel.fetch_message(ctx.message.reference.message_id)
).author
await ctx.send(f"{user.mention} has been licked! 👅")

@commands.check(check_if_staff_or_ot)
@commands.command(hidden=True, name="chill", aliases=["cold"])
Expand Down

0 comments on commit 86b5b9f

Please sign in to comment.