Removed custom predicates, will makes custom permissions setup in the future easier
This commit is contained in:
parent
ff4a7e9c46
commit
1101d287ad
|
@ -2,11 +2,14 @@ from discord.ext import commands
|
||||||
from . import config
|
from . import config
|
||||||
|
|
||||||
|
|
||||||
def isOwner():
|
def isOwner(ctx)
|
||||||
def predicate(ctx):
|
return ctx.message.author.id == config.ownerID
|
||||||
return ctx.message.author.id == config.ownerID
|
|
||||||
|
|
||||||
return commands.check(predicate)
|
#def isOwner():
|
||||||
|
#def predicate(ctx):
|
||||||
|
#return ctx.message.author.id == config.ownerID
|
||||||
|
|
||||||
|
#return commands.check(predicate)
|
||||||
|
|
||||||
|
|
||||||
def isPM():
|
def isPM():
|
||||||
|
|
Loading…
Reference in a new issue