Browse Source

removed useless lambda

tags/v2.0.0
Roxie Gibson 5 years ago
parent
commit
116b0ecbe1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roxbot/cogs/gss.py

+ 1
- 1
roxbot/cogs/gss.py View File

@@ -44,7 +44,7 @@ def is_not_nsfw_disabled():
def predicate(ctx):
role = discord.utils.get(ctx.guild.roles, id=397866388145831937)
return role not in ctx.author.roles
return commands.check(lambda ctx: predicate(ctx))
return commands.check(predicate)


async def tatsumaki_api_call(member, guild):

Loading…
Cancel
Save