This is awesome! Not a coder myself but I'm looking forward to see the bot in action.
Hockey
Rules
- No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia.
- Be respectful, especially when disagreeing. Everyone should feel welcome here.
- No porn.
- No Ads / Spamming.
List of Team-Specific Communities:
Metropolitan Division
- Carolina Hurricanes
- Washington Capitals
- Columbus Blue Jackets
- New Jersey Devils
- New York Islanders
- New York Rangers
- Pittsburgh Penguins
- Philadelphia Flyers
Atlantic Division
- Toronto Maple Leafs
- Montreal Canadiens
- Boston Bruins
- Ottawa Senators
- Tampa Bay Lightning
- Buffalo Sabres
- Detroit Red Wings
- Florida Panthers
Central Division
- Chicago Blackhawks
- Winnipeg Jets
- Nashville Predators
- Arizona Coyotes
- Dallas Stars
- St Louis Blues
- Minnesota Wild
- Colorado Avalanche
Pacific Division
- Los Angeles Kings
- Edmonton Oilers
- Calgary Flames
- Anaheim Ducks
- Vancouver Canucks
- San Jose Sharks
- Vegas Golden Knights
- Seattle Kraken
It's gonna be fun! I loved having that on the Flyers subreddit (I'm assuming other subs did the same).
Wow, what a straightforward little bot script. Haven't played with lemmy bots at all yet, but if this is all it takes to do something useful, we're going to have a lot of fun little toy robots running around. I just hope people use their powers for awesome :)
edit: from where do you source the plemmy library you import? This one? https://github.com/tjkessler/plemmy
Yes that is the source for plemmy! it is super straightforward. Honestly easier than scraping the NHL api and that wasn't all that hard either. There's also "https://enterprise.lemmy.ml" that's a public server set up for testing scripts on that has been invaluable in testing things without making a mess of my community while testing.
I'm super excited to see how easy these bots are, I thought I'd need to start now to barely have this done by preseason but at this rate it'll be done well in advance!
Oooh, nice! We should also set up /c/test or something one whatever local server you're on. Actually, that's a good idea. I'll do it now on my instance, if it isn't already.
That is a great idea. Once I get a bit of the outstanding issues resolved I'll have an update to the readme posted in the dev branch with some info on how to test it against a game that's already completed as well. I want to finish figuring out the post body info/formatting before doing much more testing. Once this thing seems ready I'm going to ask my server about creating a bot account to use for at least my community. Ultimately once the 1.0 is finished it might be worth extending this so a single server could have a daemon of sorts to scrape upcoming games and post on the respective community's (if their mods request it).