Skip to content
Snippets Groups Projects
Unverified Commit 4117a803 authored by SaelDE's avatar SaelDE Committed by GitHub
Browse files

added "-/+" and "+/-" as neutral

added "-/+" and "+/-" as neutral
parent 974096fc
Branches
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ async def event_message(ctx):
# check if message is a vote
msg = ctx.content
if msg[:2] == '+-' or msg[:2] == '-+' or msg[:len(VOTE_NEUTRAL)] == VOTE_NEUTRAL:
if msg[:2] == '+-' or msg[:2] == '-+' or msg[:3] == '-/+' or msg[:3] == '+/-' or msg[:len(VOTE_NEUTRAL)] == VOTE_NEUTRAL:
add_vote(ctx, 'neutral')
elif msg[:1] == '+' or msg[:len(VOTE_PLUS)] == VOTE_PLUS:
add_vote(ctx, 'plus')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment