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! ๐Ÿ˜…

9 points

The lady pics are cute, but also pretty sexist. Especially the joker one. Like wtf is this an nsfw instance?!? You should at least go 50/50 woman/man, or ideally choose more neutral pictures to begin with.

permalink
report
reply
4 points
*

The replies you got are eye opening.

Very nice to see that the programming space is still very much a boyโ€™s club. ๐Ÿ™„

This guyโ€™s posting history is full of misogynistic drivel so his response checks out i guess.

He also compared watching CSAM to watching cat videos LMFAO. What a gross ass dude.

permalink
report
parent
reply
3 points

Thanks. The upvotes are in my favor, but the loud minority posting comments is, well, loud. So thank you.

permalink
report
parent
reply
2 points

This is kind of a weird response to make to someoneโ€™s first project. I donโ€™t know about you, but I honestly donโ€™t pay any attention to the images and whatnot I use in a small personal project, I just use whatever I have.

The interesting thing here is that OP built a thing and wants to share it. As OP mentioned elsewhere, the images can be easily replaced with something else, yet you jumped to criticism instead of asking. That seems kinda weird to me.

My coworker shared a game they made with the broader team, and while they game had lots of glaring issues (e.g. controls sucked, graphics were basic, etc, but hey, gender was balanced), the team was consistently supportive because this was something they had never done before. My response was to merely ask constructive questions, like what they found most challenging, what theyโ€™d like to work on next, etc.

So yeah, I guess Iโ€™m surprised that you decided pointing out the gender of the two people in the images was the most constructive thing you could post about. That is all.

permalink
report
parent
reply
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
1 point
Deleted by creator
permalink
report
parent
reply
-5 points
*

Sorry, not taking part in that nonsensical logic.

Maybe open a dictionary and look up the word Sexist,โ€ฆ Sexual is not the same thing. ๐Ÿ˜œ You do realize how the human race reproduces right?

Anyway, the pics are by an artist I know, especially made for this. And I couldnโ€™t care less about โ€œwokeโ€ Karen comments. ๐Ÿ˜…

No offense though, but it just shows no style to keep doing this, and certainly holds no ground with me. ๐Ÿ˜œ

If you feel like breaking down other peopleโ€™s achievements for unrelated issues you have, please stay off the internet. Itโ€™s dangerous out here. ๐Ÿ˜…

Have a great day!

permalink
report
parent
reply
7 points

Congratulations! That feeling of โ€œI built a thing!โ€ never gets old. If youโ€™d like some help troubleshooting or would like a coffee review, feel free to post a link to the source here.

permalink
report
reply
2 points
*

I was thinking of putting it online for use by others, open-source, of course. The pictures are easily replacable by anything you want. (though I should use a bit more variables that can easily be set on top of the file for easy personalisation. For now the โ€˜access tokenโ€™ and instance you want to use are already there, and the image links right below, but it could get a bit more oversight.)

I did comment everything the script does, as I saw that seems to be common habit.

I will soon paste a link when I cleaned it up a bit. Iโ€™m just happy it works exactly as I wanted it to for now. Iโ€™ll prob. be putting it online starting next week or so. ๐Ÿ˜

Thanks for the possitive comment!

permalink
report
parent
reply

Python

!python@programming.dev

Create post

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

๐Ÿ“… Events
Past

November 2023

October 2023

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

  • 710

    Monthly active users

  • 428

    Posts

  • 2.2K

    Comments