This is a telegram bot that makes random and pointless tutorials. You can use a keyword to generate the title or you can feed the bot with your beautyful title. If you don't feel inspired, the bot can pick a random title. In the examples folder you can find some... examples.
- It may work as intened
You could install this using a Python virtual environment but you could encounter a couple of issues. For a smooth installation I'd suggest you to use Docker. A couple of steps below are specific for Linux-based distros but if you use MacOS or Windows and you know how to use a Dockerfile, you'll do this in 5 minutes.
-
Install Docker.
-
Clone this repository:
git clone https://github.com/luca-go/tutorial-sp-bot
-
Create a telegram bot with Bot Father and copy the API TOKEN
-
In the folder
tutorial-sp-bot/src
there's the file
.env
Open it and paste the API TOKEN you got from Bot Father. The file content should look like this:
API_TOKEN='YOUR TOKEN HERE'
-
In the direcotry
tutorial-sp-bot
launch the terminal and run this command to build the Docker image:docker build -t telegram-shitposting-bot .
It may take a couple of minutes to finish.
-
Now you can launch the bot by typing:
docker run -d tutorial-shitposting-bot
-
Now open the chat with the bot you created at step 3, tap on "Start" and enjoy(?).
P.S.: Remember to edit the .env file and rebuild the image (Step 5) when you change the API token of your bot.
The bot could be a bit buggy, feel free to open an issue if needed.