Skip to content

BecauseOfProg/BecauseOfProg_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BecauseOfProg_Bot

Telegram bot to interact with the BecauseOfProg API

t.me/BecauseOfProg_Bot

🌈 Features

A simple goal: search for publications using an inline query.

💻 Development

Make sure you have Git and Go 1.15 installed on your machine.

Clone the repository locally:

git clone https://github.com:BecauseOfProg/BecauseOfProg_Bot.git  # HTTPS
git clone [email protected]:BecauseOfProg/BecauseOfProg_Bot          # SSH

Install the dependencies using go modules with the go get command. You can also use the dependency manager of your choice. Every dependency is listed in the go.mod file.

Initialize these environment variables:

  • TELEGRAM_APITOKEN - the token of your bot (get one with @BotFather)
  • BOT_ENV - Set it to "development" to get detailed debug logs

You can also create a .env file at the root of the directory.

Finally, start the bot with go run or build the project with go build.

📜 Credits

🔐 License

This code is protected under the GNU GPL v3 license.

Releases

No releases published

Packages

No packages published

Languages