[Core] Moved checks.py to main core package

This commit is contained in:
Twentysix
2017-04-27 01:00:04 +02:00
parent 2063decbe7
commit 36b19de9da
2 changed files with 1 additions and 1 deletions

7
core/checks.py Normal file
View File

@@ -0,0 +1,7 @@
from discord.ext import commands
def is_owner(**kwargs):
async def check(ctx):
return await ctx.bot.is_owner(ctx.author, **kwargs)
return commands.check(check)