瀏覽代碼

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

Loading…
取消
儲存