1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00

Removed custom predicates, will makes custom permissions setup in the future easier

This commit is contained in:
Phxntxm 2016-07-15 08:26:32 -05:00
parent ff4a7e9c46
commit 1101d287ad

View file

@ -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():