aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorromangraef <romangraef@loves.dicksinhisan.us>2018-07-11 22:47:11 +0200
committerromangraef <romangraef@loves.dicksinhisan.us>2018-07-11 22:47:32 +0200
commitb105798c91b30e6fe8bff2a9087af6db4e6065a2 (patch)
tree39ddddd9f691b52ca2c3e024f7cc0ba7a23d0cff /modules
parent3a0eb77cd7f0771d92c5b4a4dc58b02eaa16c239 (diff)
downloadevalbot-b105798c91b30e6fe8bff2a9087af6db4e6065a2.tar.gz
evalbot-b105798c91b30e6fe8bff2a9087af6db4e6065a2.tar.bz2
evalbot-b105798c91b30e6fe8bff2a9087af6db4e6065a2.zip
removed entwickler.cc filter
Diffstat (limited to 'modules')
-rw-r--r--modules/execute.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/execute.py b/modules/execute.py
index 1d9102e..ce45e12 100644
--- a/modules/execute.py
+++ b/modules/execute.py
@@ -7,7 +7,6 @@ from discord import Embed, Color, Message, Guild, TextChannel, Member
from discord.ext.commands import Bot
from compile_api import execute
-from filter import verify
CODE_BLOCK_REGEX: Pattern = re.compile("```(?P<lang>.*)\n(?P<code>[\\s\\S]*?)```")
INPUT_BLOCK_REGEX: Pattern = re.compile("input[: \t\n]*```(?P<lang>.*)?\n(?P<text>[\\s\\S]*?)```", re.IGNORECASE)
@@ -92,8 +91,6 @@ class ExecuteCog(object):
if not author.guild_permissions.manage_messages:
self.last_messaged[author.id] = datetime.now()
language, version = languages[lang]
- if not verify(message, language):
- return
response = await execute(code, language, version)
if response.status_code == 429:
return await channel.send(