This is the code for the Mastodon bot @bot@dotnet.social. Its goal ist to help grow and connect the .NET community on Mastodon by boosting posts that talk about .NET.
The code is generic and could be used for any kind of bot that should boost posts, not just about .NET.
The bot runs as an Azure function and boosts posts
- where the bot was @ mentioned,
- that contain at least one # hashtag that the bot follows,
- that has a boost request reply, i.e. a reply with the message
boost this!
(or similar)
Posts are generally only boosted if the post to boost
- does not come from this bot account itself,
- does not come from any account that is marked as a bot,
- is not a direct message,
- is not a reply
I am aware that this little experiment is a rather naive implementation. Any kind of contribution to make this bot better is welcome.
- bitbonk for building this project and transfer it to us.
- Guillaume Lacasa (@glacasa@mamot.fr on Mastodon) for building and maintaining Mastonet