Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Cleared existing admin ids
Browse files Browse the repository at this point in the history
Existing admin ids have been cleared. You can manually add yours to your needs.
  • Loading branch information
notsniped authored Apr 8, 2022
1 parent 6c6d66e commit 8f5ba24
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions cogs/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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==']
Expand Down Expand Up @@ -112,4 +104,4 @@ def paginate(text: str):
await ctx.message.add_reaction('\u2705')

def setup(client):
client.add_cog(EvalCommand(client))
client.add_cog(EvalCommand(client))

0 comments on commit 8f5ba24

Please sign in to comment.