Undo and fix previous commits

This commit is contained in:
JustMaffie 2017-07-30 01:04:03 +02:00 committed by Jeremy Zhang
parent 111ffb7871
commit 4066f629f3

View File

@ -112,10 +112,6 @@ def parse_emoji(textToParse, guild_id):
def format_post_content(guild_id, channel_id, message):
illegal_post = False
illegal_reasons = []
crashChar = 'ौौौौ'
if crashChar in message:
illegal_post = True
illegal_reasons.append("This message contains a character that crashes a users discord client.")
message = message.replace("<", "\<")
message = message.replace(">", "\>")
message = parse_emoji(message, guild_id)