Skip to content

Commit

Permalink
Update meme.py with .lick meme command
Browse files Browse the repository at this point in the history
Never done this before.
  • Loading branch information
Aceofgods committed May 23, 2023
1 parent 1462e0a commit 3aba0b7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions robocop_ng/cogs/meme.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@ 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="chill", aliases=["cold"])
async def chill_member(self, ctx, user: Optional[discord.Member]):
Expand Down

0 comments on commit 3aba0b7

Please sign in to comment.