From 6bfd92e4a542dc06a668272238e6f09acb55c6ac Mon Sep 17 00:00:00 2001 From: LyricLy Date: Mon, 12 Nov 2018 12:09:43 +1300 Subject: [PATCH] Fix is_in_guild example check --- docs/ext/commands/commands.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index 5b36fc06e..6f5b3d00f 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -648,7 +648,7 @@ When multiple checks are specified, **all** of them must be ``True``: def is_in_guild(guild_id): async def predicate(ctx): return ctx.guild and ctx.guild.id == guild_id - return commands.check(is_in_guild) + return commands.check(predicate) @bot.command() @is_in_guild(41771983423143937)