We understand that some users in the fediverse don’t want to see sports content and are frustrated with Fanaticus’s game bots’ daily posts.
Currently, lemmy doesn’t support blocking entire instance’s at a user level. Because of that limitation, I am providing a list of the current communities on Fanaticus that have active game bots and a little python script so users can block those communities.
Here's a list of the communities that currently have a game bots running:
!tampabayrays@fanaticus.social !orioles@fanaticus.social !nyyankees@fanaticus.social !torontobluejays@fanaticus.social !redsox@fanaticus.social !minnesotatwins@fanaticus.social !clevelandguardians@fanaticus.social !whitesox@fanaticus.social !motorcitykitties@fanaticus.social !kcroyals@fanaticus.social !texasrangers@fanaticus.social !astros@fanaticus.social !angelsbaseball@fanaticus.social !mariners@fanaticus.social !oaklandathletics@fanaticus.social !braves@fanaticus.social !miamimarlins@fanaticus.social !phillies@fanaticus.social !newyorkmets@fanaticus.social !nationals@fanaticus.social !buccos@fanaticus.social !brewers@fanaticus.social !reds@fanaticus.social !chicubs@fanaticus.social !cardinals@fanaticus.social !azdiamondbacks@fanaticus.social !sfgiants@fanaticus.social !dodgers@fanaticus.social !padres@fanaticus.social !coloradorockies@fanaticus.social
If you're comfortable with coding, there's an API endpoint to block a community. I threw together a little python script that would block all the above (I think 🙂).
from plemmy import LemmyHttp
# must include protocol e.g. https://lemmy.world
pl = LemmyHttp("INSTANCE_NAME_HERE")
username = "USERNAME_HERE"
password = "PASSWORD_HERE"
pl.login(username, password)
fanaticus_communities = [
"tampabayrays@fanaticus.social",
"orioles@fanaticus.social",
"nyyankees@fanaticus.social",
"torontobluejays@fanaticus.social",
"redsox@fanaticus.social",
"minnesotatwins@fanaticus.social",
"clevelandguardians@fanaticus.social",
"whitesox@fanaticus.social",
"motorcitykitties@fanaticus.social",
"kcroyals@fanaticus.social",
"texasrangers@fanaticus.social",
"astros@fanaticus.social",
"angelsbaseball@fanaticus.social",
"mariners@fanaticus.social",
"oaklandathletics@fanaticus.social",
"braves@fanaticus.social",
"miamimarlins@fanaticus.social",
"phillies@fanaticus.social",
"newyorkmets@fanaticus.social",
"nationals@fanaticus.social",
"buccos@fanaticus.social",
"brewers@fanaticus.social",
"reds@fanaticus.social",
"chicubs@fanaticus.social",
"cardinals@fanaticus.social",
"azdiamondbacks@fanaticus.social",
"sfgiants@fanaticus.social",
"dodgers@fanaticus.social",
"padres@fanaticus.social",
"coloradorockies@fanaticus.social",
]
for comm in fanaticus_communities:
print("Getting community: ", comm)
commRes = pl.get_community(name=comm).json()
if commRes and commRes['community_view']:
commId = commRes['community_view']['community']['id']
print("Blocking community: ", comm, " communityId: ", commId)
pl.block_community(True, commId)
print("Successfully blocked community: ", comm)
else:
print("Failed to find community: ", comm)
In the future, we are planning on adding the game bots for the other major sports as well (they’re not in season now) so I will update this script as those bots come online.