Explorar el Código

removed useless lambda

tags/v2.0.0
Roxie Gibson hace 5 años
padre
commit
116b0ecbe1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      roxbot/cogs/gss.py

+ 1
- 1
roxbot/cogs/gss.py Ver fichero

@@ -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):

Cargando…
Cancelar
Guardar