oh wow that was easy to fix actually
This commit is contained in:
1 parent
8ce5412f9d
commit
e0a5c9cc0b
4 files changed
+10
-18
No files matched your search
@@ -1,14 +1,5 @@
|
||||
from discord.ext import commands
|
||||
|
||||
# Copyright (C) Flumboni - All Rights Reserved
|
||||
# Unauthorized copying of this file, via any medium is strictly prohibited
|
||||
# Proprietary and confidential
|
||||
def check_flum():
|
||||
async def predicate(ctx):
|
||||
ids = [320825953154760704, 344273597612818444, 274983796414349313]
|
||||
return ctx.author.id not in ids
|
||||
return commands.check(predicate)
|
||||
|
||||
def check_bot():
|
||||
async def predicate(ctx):
|
||||
return not ctx.author.bot
|
||||
|
||||
+2
-2
@@ -78,5 +78,5 @@ class Mod(commands.Cog):
|
||||
|
||||
await ctx.send(content=content,delete_after=15.0)
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(Mod(bot))
|
||||
async def setup(bot):
|
||||
await bot.add_cog(Mod(bot))
|
||||
Reference in new issue
Block a user