From c23ef9e8a4c97fc6272b7a62c446b1f12130bdc9 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 20 Jun 2017 23:55:17 -0400 Subject: [commands] Add __global_check_once to list of cog functions. --- docs/migrating.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/migrating.rst b/docs/migrating.rst index fbcc074a..7392844e 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -937,6 +937,10 @@ An example cog with every special method registered is as follows: :: print('cog global check') return True + def __global_check_once(self, ctx): + print('cog global check once') + return True + async def __local_check(self, ctx): print('cog local check') return await ctx.bot.is_owner(ctx.author) -- cgit v1.2.3