Skip to content

Commit

Permalink
AHAHHAHAHHA IT WAS A PARSING ERROR AHAHAHHAHA fixes the issue of drop…
Browse files Browse the repository at this point in the history
…ping all words after the 16th in a msg
  • Loading branch information
kurisufriend committed May 12, 2022
1 parent e64cdf0 commit 8882553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message.py
Expand Up @@ -12,7 +12,7 @@ def parse(raw):
if msg.prefix:
raw.pop(0)
msg.command = raw[0]
msg.parameters = raw[1:][0:15]
msg.parameters = raw[1:][0:] #AHAHHAHAHAHA NEGRO WHAT THE FUCK, WAS DROPPING WORDS BECAUSE IT SAID [0:15]
except:
pass
return msg
Expand Down Expand Up @@ -53,4 +53,4 @@ def parse(msg):
pm.fr = msg.prefix[1:]
pm.to = msg.parameters[0]
pm.bod = (" ".join(msg.parameters) if not(type(msg.parameters) == type(str)) else msg.parameters).split(":", 1)[1]
return pm
return pm

0 comments on commit 8882553

Please sign in to comment.