Skip to content

Twitter bot for selecting a random Finnish noun from a text file and adding " on pilalla" (is ruined) to it.

License

Notifications You must be signed in to change notification settings

bloomikko/PilallaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PilallaBot

Twitter bot for selecting a random Finnish noun from a text file and adding " on pilalla" (is ruined) to it. I swore that I won't program anything in the summer, but as my friend Atte had this great idea I had to. Luckily many things were the same as in LyricsBot, so this took only a few hours to complete. Inspiration comes from this Finnish rapper's DJ Ibusal song, "Pilalla", where everything is basically ruined: DJ Ibusal - Pilalla.

Bot running at Twitter on my Raspberry Pi.

Update 2/8/2023: The bot has gone through all the nouns, so it is not working anymore.

The word list is from Palomäki.info (some words removed from the list, as it might produce problematic results)

Features

  • Uses a text file to find a random noun and tweeting it "noun on pilalla"
  • Adds the noun to a pickle file, so it could not be used for second time

What did I do/learn?

  • More to love Python!
  • Little about Twitter API
  • Pickle files revised
  • Cron jobs revised

About

Twitter bot for selecting a random Finnish noun from a text file and adding " on pilalla" (is ruined) to it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages