Skip to content

Commit

Permalink
allow spoiler around movesgame submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
benwh1 committed Aug 31, 2021
1 parent e589939 commit b4fc28f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions movesgame/round.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,5 @@ async def on_message(self, message):
m = message.content.upper()
if len(m) == 1 and m in "ULDR":
self.submit(message.author, m)
elif len(m) == 5 and m in ["||U||", "||L||", "||D||", "||R||"]:
self.submit(message.author, m[2])

0 comments on commit b4fc28f

Please sign in to comment.