Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cogs/randcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async def slap(self, ctx, user: discord.Member):
async def unslap(self, ctx, user: discord.Member):
slap_role = discord.utils.get(ctx.guild.roles, name="Slapped")
if slap_role is None:
return await reply(ctx, "No slapped rank :(")
return await reply(ctx, "No slapped role :(")
if slap_role not in user.roles:
return await reply(ctx, "User is not slapped.")
await user.remove_roles(slap_role)
Expand All @@ -206,7 +206,7 @@ async def pikl(self, ctx, user: discord.Member):
await asyncio.sleep(120)
await user.remove_roles(pikl_role)

@commands.command(help="Googles something.", aliases=["lmgtfy"])
@commands.command(help="Googles something.", aliases=["lmgtfy", "search"])
async def google(self, ctx, *, query):
await reply(ctx, f"<https://www.google.com/search?q={query.replace(' ', '+')}>")

Expand Down