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
3 points

The images can be easily replaced with something else, yet OP used nsfw pics instead of whatever. That seems kinda weird to me.

the team was consistently supportive

There is a certain correlation with the use of borderline pornographic content, you know? I dare you to present OPs project at work.

permalink
report
parent
reply
0 points

They’re not nsfw. They’re not my first choice, but I wouldn’t be all that embarrassed if a coworker saw it. I see women (and men for that matter) in more revealing attire exercising in public, it’s really not an issue.

permalink
report
parent
reply
2 points
*

I now realize that OP posted a select few, safe for work images here on Lemmy.

The joker one im talking about is this one:

(In case I didn’t get the image embedding right, here is the image as a regular link: https://cdn.masto.host/fedggtmeu/media_attachments/files/111/566/629/459/550/195/original/5505dd45f0c1d22b.jpg)

permalink
report
parent
reply
0 points

That one is certainly more risqué, but I don’t consider it pornographic. While I’d be a little embarrassed (esp since I work with a few women within eyeshot), I don’t think I’d get into any trouble, provided I don’t linger on the pictures.

That said, it seems the only way you get to it is by actually using the app and getting the jackpot. From the initial post and landing page, it’s obvious the kind of pictures OP would be using, so I would just not actually try out the app at work.

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