DecisionBot is a Reddit bot that retrieves and posts mixed martial arts scorecards on-demand. Users summon the bot by commenting in any r/mma thread with the fighters' names. It has been live on r/mma since February 2017.
-
User leaves comment: decisionbot mcgregor vs diaz
-
DecisionBot replies:
UFC 202: Diaz vs. McGregor 2 — August 20, 2016
ROUND McGregor Diaz McGregor Diaz McGregor Diaz 1 10 9 10 9 10 9 2 10 9 10 9 10 9 3 9 10 9 10 8 10 4 10 9 10 9 10 9 5 9 10 9 10 9 10 TOTAL 48 47 48 47 47 47 Judges, in order: Derek Cleary, Jeff Mullen, Glenn Trowbridge.
MEDIA MEMBER SCORES
- 1/19 people scored it 49-47 McGregor.
- 12/19 people scored it 48-47 McGregor.
- 1/19 people scored it 47-46 McGregor.
- 4/19 people scored it 47-47 DRAW.
- 1/19 people scored it 47-48 Diaz.
2215 fan scores — 1426 (64%) McGregor, 483 (22%) Diaz, 306 (14%) Draw.
- You can use v / v. / vs / vs. / versus, or leave it out and the bot will figure the names out.
- Handles rematches (include the rematch number in the comment, or leave it out and the bot posts all fights).
- Handles many fighter nicknames and common name misspellings.
- Supports returning "certainty of victory" confidence level based on media scorecards.
- Banters and has many easter eggs.
- Run
make
to run in foreground. - Run
make start-background
to run in background, andmake stop
to stop the background process.
File | Description |
---|---|
fight_finder.py | Searches and pulls fight data from mmadecisions.com using BeautifulSoup. |
decision_bot.py | Runs the bot on Reddit. |
notify_account.py | Notifies my personal account of DecisionBot's status. |
config.yaml | Bot configs. |
commented.txt | List of recent comment ids that triggered the bot. |
nicknames.txt | List of common nicknames and name misspellings. |
rematches.txt | Correctly adjusted rematch numbers (if there was a finished fight, the rematch numbers need to be adjusted). |
- "This is one of the coolest and most useful bots I've seen on Reddit. True story."
- "wtf im speechless , this is amazing! what a time to be alive"
- "ALL GLORY TO THE BOT"
- ".... you just summoned a decision bot...?... the internet truly is wondrous."
- "wow! very fantastic bot!"
- "I did not even know this magic existed."
- "What is this voodoo?"
- "Decisionbot I love you man."
- "God I love this bot."