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

Commit

Permalink
Removed some auth tokens
Browse files Browse the repository at this point in the history
Thanks to @paulranshaw for pointing this out!
  • Loading branch information
notsniped authored Apr 14, 2022
1 parent 934f440 commit 66e3185
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cogs/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ def get_syntax_error(self, e):
async def _eval(self, ctx, *, body):
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==']
blocked_words = ['while', 'quit', 'exit', 'SystemExit', 'open', '.delete()', 'os', 'subprocess', 'base64', 'history()', '("token")', "('token')"]
if ctx.message.author.id != 738290097170153472:
for x in blocked_words:
if x in body:
Expand Down

0 comments on commit 66e3185

Please sign in to comment.