Hey folks, considering the hilarious bot bit going around, I thought it finally time to construct an actual bot here and let it loose. Its name is @gwordcountbot, inspired by @nwordcountbot (RIP), and it functions the same way but for the g-word. Right now it checks all instances of the g-word, so gamer, gmer, g@mer, gamers, etc. I thinking of adding a check for how many hard a's (gamer) versus soft (gmer, g@mer), but for now this is enough. It's running on a crontab on my computer right now, but I'll get it hooked up to a sever soon, as well as post the source code online so others can get some bots going. Look at the comments here for how the bot works!
EDIT: I've posted the source code here so you can check out how it works/create new bots. Anybody know a good place to host this so I don't have to keep my computer running forever?
@gwordcountbot @throwawaylemmy2
Thank you for the request, товарищ. throwawaylemmy2 has not said the G-word yet.
YET
@gwordcountbot @asaharyev
Thank you for the request, товарищ. asaharyev has not said the G-word yet.
Yeah, but does it count "g*mer"?
Ah it might not, that's a good catch. I'll poke around and fix that.
@gwordcountbot @asaharyev
Thank you for the request, товарищ. asaharyev has said the G-word only once.
lies and slander!
Probably shouldn't....but maybe....
A g-word in quotes is still a g-word
I mean't the censored g-word, g*mer