diff --git a/cogs/eval.py b/cogs/eval.py index d43d5cf..ddfa6ee 100644 --- a/cogs/eval.py +++ b/cogs/eval.py @@ -22,15 +22,7 @@ def get_syntax_error(self, e): @commands.command(name='evaluate', aliases=['eval', 'e']) @commands.cooldown(1, 5, commands.BucketType.user) async def _eval(self, ctx, *, body): - ids = [ - 738290097170153472, - 796097512355266602, - 821635924039434261, - 852586561610055699, - 816941773032390676, - 705462972415213588, - 706697300872921088 - ] + ids = [] if ctx.message.author.id not in ids: return blocked_words = ['while', 'quit', 'exit', 'SystemExit', 'open', '.delete()', 'os', 'subprocess', 'base64', 'history()', '("token")', "('token')", 'aW1wb3J0IG9zCnJldHVybiBvcy5lbnZpcm9uLmdldCgndG9rZW4nKQ==', 'aW1wb3J0IG9zCnByaW50KG9zLmVudmlyb24uZ2V0KCd0b2tlbicpKQ=='] @@ -112,4 +104,4 @@ def paginate(text: str): await ctx.message.add_reaction('\u2705') def setup(client): - client.add_cog(EvalCommand(client)) \ No newline at end of file + client.add_cog(EvalCommand(client))