oh wow that was easy to fix actually

This commit is contained in:
C committed 2025-04-01 12:32:44 -07:00
1 parent 8ce5412f9d
commit e0a5c9cc0b
4 files changed
+10 -18

No files matched your search

-9
View File
@@ -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
View File
@@ -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))