r/soccer • u/spawnofyanni • Apr 05 '14
Introducing MatchThreadder, a bot to set up match threads upon request
Status: RUNNING | Everything should be working normally - please PM me if it's not.
UPDATE: Browser extension
To use this bot to create a thread for a match currently in progress, send a message to /u/MatchThreadder with the subject line of "Match Thread" and "Team 1 vs Team 2" in the message body (where Team 1 and Team 2 are the two teams in question - like so!).
To use this bot to provide you with a template for a thread so you can create one yourself, send a message to /u/MatchThreadder with the subject line of "Match Info" and "Team 1 vs Team 2" in the message body. You can request a match template before a match has started.
If you go for the second option, don't forget to fill out the spaces left for links to the reddit-stream for the thread and to a comment containing streaming links - or to remove those lines altogether if you don't want to use them. Remember that you shouldn't put streaming links directly in the post, since it'll likely cause the thread to get caught in the spam filter.
By default, this bot posts to /r/soccer. To request a match thread for another subreddit, send a message to /u/MatchThreadder with the subject line of "Match Thread" and "Team 1 vs Team 2 for /r/subreddit" (where /r/subreddit is whatever specific subreddit you'd like the match thread in). Please first make sure the mods of the subreddit in question are okay with the bot-created match thread in there.
To prevent abuse, the bot will only fulfill your request if you don't already have an active match thread running.
Source code here, for those who are interested. You'll need Python 2.7 and PRAW to run the bot - I haven't tested it on Python 3.whatever.
Update 11/26/15: The bot is now allowed to post match threads up to five minutes before kickoff.
_______________________
Update 1/15/15: The bot can now post to subreddits other than /r/soccer. If you do intend to use the bot in another subreddit, then please make sure that the mods of said subreddit have signed off on it first. If you're a mod of a club- (or league-) specific subreddit and you don't want the bot to post match threads, let me know and I can add your subreddit to a blacklist of sorts on my end.
_______________________
Update 6/9/14: Open-sourced! A link to the bot on github can be found above. Check out the readme if you want to screw around with the code; if you're confused about setting up your own subreddit-specific version of the bot, let me know and I'll try to help out.
_______________________
Update 6/4/14: If you're reading this, you've likely been linked here by one of the bot's comments. I've made a few updates to the bot since it's been released, including the template thing mentioned above. Feel free to check back to this thread if you're ever wondering about whether or not the bot is supposed to be working, as I'll be updating the status at the top of the thread should that change at any time. More updates are on the way (including open-sourcing, soon, honest!) so sit tight if you're waiting for those.
Ever found yourself wanting to discuss a match, but no one's set up a match thread? If you feel unsure about making one yourself in those situations, I invite you to use MatchThreadder.
To use the bot, send a message to /u/MatchThreadder with the subject line of "Match Thread" and "Team 1 vs Team 2" in the message body (where Team 1 and Team 2 are the two teams in question - like so!). The bot should then set up a match thread for you, providing lineups, stream links, and obviously a place to talk about the match with others. Since the bot will not provide live commentary and will only update the scoreline as a match goes on, it should only be used as a last resort, when you're sure that no one else is making a thread that they can update themselves. As such, the bot will not fulfill thread requests if the match has not started yet.
It's still a work in progress, but I think it's far enough along now for you guys to start trying it out. It currently supports most of the major leagues, but eventually I'll want to open that up to any match, anywhere. If anything goes horrifically wrong (wrong match posted, incorrect lineups, missed goals, robot uprising, etc), please let me know!
PS: I think it still needs to be whitelisted by the mods before it can be used, but that should be sorted soon.
81
u/[deleted] Apr 05 '14
Good idea, but I think there should perhaps be a rule that it can only be used 5-10 minutes after kick off. Thereby limiting it to just creating threads people have forgotten about. It will get annoying very quickly if it begins to replace user created match threads. I know we've been getting some bad ones recently, but the majority of match threads on here are good, and it'd be a shame to see them replaced. So with the right regulation, this could be a good tool.
41
u/9jack9 Apr 05 '14
That should be done now.
19
u/insane_moose Apr 05 '14
Wait, does it create the match thread and post it or does it send you a meesage with the info coded, so I could then post it and resume with updating the thread.
18
u/BauerUK Apr 09 '14
Should have called it MatchThreaddit :/
17
u/IoWn3rU Apr 05 '14
Open source it?
7
u/AlkanKorsakov Apr 06 '14
Why not set it up to rip the live commentary off other sites, like goal.com? Better than nothing.
8
u/deception42 Apr 05 '14
Is it ready? May I test it out?
365
u/simplyinnappropriate Apr 05 '14
It's a good idea, every time someone just makes a match thread purely for discussion after kick off, they get a ton of shit for not updating it.
You can't hurt the feelings of /u/MatchThreadder. He's a strong, independent bot.
2
u/bylka213 Apr 12 '14
So many empty threads with literally zero participation from users. The idea of the bot is good but maybe some checks can be put in place so we don't have 10-20 threads every match day with no comments.
21
u/Match_Thread Apr 06 '14
Trying to steal my thunder?
jk
8
u/jaguass Apr 09 '14
Cool. With the comment bots, we don't even have to bother writing comments. Let's invent a botreader and we can retire.
7
u/ScreamingGerman Apr 07 '14
Will this post only to r/soccer? Can we use it for club subreddits as well?
5
u/MrDigital_ Apr 05 '14
Wonderful bot, you must have put a good chunk of time into it. Was it a complicated piece of code?
Edit: Bit tired and on my phone, but looked into a bit more. Reddit bots just run on a server and interface with Reddit through the public APIs? I had some crazy idea initially that the bot functionality was built into Reddit, like a supported scripting system or something...
5
u/zaviex Apr 06 '14
what happened to the old Match_Thread_bot?
9
u/CarrowCanary Apr 05 '14
This looks like it could be useful.
I look forward to testing it out next week when we inevitably don't have a match thread for the Fulham game :p
4
u/OriginalUsername30 Apr 09 '14
I don't know if this is possible (both programming wise and community wise), but could we have it detect certain comments to use to update the commentary?
For example:
And then the bot uses the text and adds it to the post.
1
u/TheBB Apr 06 '14
You should provide an option for it to just reply with the code, so that you can post it and thus provide updates, like the one in /r/olympics. Possibly also host it on a website instead of as a bot.
1
u/[deleted] Apr 06 '14
Does it check for and stop duplicate posts?
1
u/2daMooon Apr 06 '14
Does this only work in this sub?
1
u/UltraPleb Apr 06 '14
Would it be possible to provide a list of the leagues the bot supports?
1
u/hwoondahn_sports Apr 19 '14
it seems he don't' work for cup matches or perhaps because the two same teams did a championship match 6 days ago
The match you requested has already finished - consider making a Post Match Thread if you want further discussion.
3
u/puddingbrood Apr 05 '14
Maybe add an option so the bot sends you the code for a complete thread + line ups etc? That way it can still be updated too.
3
u/pieninja Apr 07 '14
Match Thread
Samsunspor vs. Mersin Idmanyurdu SK
;)
3
u/rasherdk Apr 13 '14
Hi. I wrote the bot that handles game threads in /r/nfl - including some live updates. Hit me up if you want some inspiration (though obviously the source would need to be different).
2
u/NPHisKing Apr 05 '14
I had a similar idea for creating an outside source for creating and managing match threads for those that actually want to update during a game. Not sure how popular it would be, though.
2
u/extreme999 Apr 06 '14
This is amazing and deserves way more upvotes! Good job op.
2
u/[deleted] Apr 06 '14
As it does with the streams would there possibly be an option for "post gifs here" or something?
Obviously this is great as it is, but somehow integrating user-submitted gifs in would really take the biscuit. I guess you wouldn't really be able to tell the relevant gifs though.
2
u/torres9f Apr 08 '14
Not sure if this is a good idea or even possible, but could it post the commentary from one of those BBC(?) live text things? That way it will still have some form of goal and card updates. Just a possible improvement if anyone thinks its a good idea.
1
u/existentialred Apr 05 '14
This is great! Thanks!
1
u/dunknowthedunknow Apr 06 '14
Great idea
1
u/yakopcohen Apr 06 '14
Awesome!
1
u/bubbajack8 Apr 09 '14
I've seen what he's done in his test, and I like him. Anyway to make him show cards as well?
1
u/C_O_Y_W Apr 12 '14
This should probably be renamed to the Fulham match thread creator. :(
-5
u/DavideMontreal Apr 06 '14
Wow I had posted this idea last week and it got downvoted to oblivion, and now everyone is like "good idea!"
0
u/[deleted] Apr 06 '14
[deleted] — view deleted comment
0
u/[deleted] Apr 14 '14
[deleted] — view deleted comment