浏览代码

removed useless lambda

tags/v2.0.0
Roxie Gibson 5 年前
父节点
当前提交
116b0ecbe1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roxbot/cogs/gss.py

+ 1
- 1
roxbot/cogs/gss.py 查看文件

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

正在加载...
取消
保存