Stark<p>I did it again!</p><p>So I created <a href="https://techhub.social/tags/MastoBot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MastoBot</span></a>, a generic <a href="https://techhub.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> Mastodon bot that allows anyone to create a bot.</p><p>I created a few versions, and I use it for <span class="h-card"><a href="https://techhub.social/@3dprinting" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>3dprinting</span></a></span>. But naturally, knowing how to implement it and developing functions, I need a use case.</p><p>So after a discussion this morning. I spent the entire day writing <span class="h-card"><a href="https://techhub.social/@Python" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Python</span></a></span>. Yes, I did it again.</p><p>However, this one now has a built-in <a href="https://techhub.social/tags/webscraper" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webscraper</span></a> to cross-post new posts fromhttps://discuss.python.org/, because why not.</p><p>This <span class="h-card"><a href="https://techhub.social/@Python" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Python</span></a></span> required a few things, and updates were made to <a href="https://techhub.social/tags/MastoBot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MastoBot</span></a>. I had to make it even more generic, implement an overkil datastore with <a href="https://techhub.social/tags/Redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Redis</span></a>, and extend the config system.</p><p><span class="h-card"><a href="https://techhub.social/@Python" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Python</span></a></span> will behave exactly like <span class="h-card"><a href="https://techhub.social/@3dprinting" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>3dprinting</span></a></span> with the added feature of crossposts. These posts will, however, be "follower only" posts, to not polute <a href="https://techhub.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> and just flood everything initially.</p><p>The bot will <a href="https://techhub.social/tags/boost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>boost</span></a> parent posts, allowing for threads and discussions to be created.</p><p>The source code will be out tomorrow, just cleaning up.</p>