ソースを参照

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

読み込み中…
キャンセル
保存