BecauseOfProg_Bot

command module
v0.0.0-...-8c00a2b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

README ยถ

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 git@github.com: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.

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL