Made a Mastodon bot using Mastodon.PY and I’m so happy it works! 😅

I just got this random idea in my head and decided to see if I could create it, so I built a working slots that uses the 4 image uploads to show the results. It will automatically grant you 10000 Coins the first time and playing costs 50 coins per play. The prices go from 25 to 750, every play adds 25 into the jackpot that starts at 500 when it gets won and 4 jokers will give jackpot. It will say the results in text too and it saves all wallet-amounts to file too which it can load back on restart however it gets killed. 😅

Sorry, just wanted to share this somewhere. 😅 I hope it’s fine here.

I am however not really promoting it, not even sure how it will do under pressure (probably get throttled by Mastodon eventually) and it might either stop working or switch account to one of it’s own (it’s currently just using a personal infobot for testing) depending how it goes… I’m assuming if I give it a 5 plays per day per user limit it could be manageable… 🤷‍♂️

(If you still want to try it, please do not abuse or spam it or I will have to take it offline, but the command to play on Mastodon is: “@infobot@fed.ggtm.eu !slots”

Anyway, thanks for reading about my victory! 😅

You are viewing a single thread.
View all comments View context
1 point
Deleted by creator
permalink
report
parent
reply

Python

!python@programming.dev

Create post

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events
October 2023
November 2023
Past

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
  • Pythörhead: a Python library for interacting with Lemmy
  • Plemmy: a Python package for accessing the Lemmy API
  • pylemmy pylemmy enables simple access to Lemmy’s API with Python
  • mastodon.py, a Python wrapper for the Mastodon API
Feeds

Community stats

  • 528

    Monthly active users

  • 396

    Posts

  • 1.9K

    Comments