mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-11 03:42:31 -05:00
First commit
This commit is contained in:
7
core/utils/checks.py
Normal file
7
core/utils/checks.py
Normal 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)
|
||||
Reference in New Issue
Block a user