telegrambot-golang

command module
v0.0.0-...-0077de9 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 12 Imported by: 0

README

Conversational Telegram Bot

Setup

Provide an .env file with bot token from BotFather with key "BOT_TOKEN" or edit the main.go

 func getBotToken() (token string) {
	token, ok := os.LookupEnv("BOT_TOKEN")
  ...

or supply the bot token directly to

pref := tele.Settings{
		Token: getBotToken(),
	}
 ...

build

To get an executable binary

go build

To run the bot

go run main.go

Features

  • Inspirational quote ✅
  • Inspiratioal Image ✅
  • Random inspiratioal quote ✅
  • Cron jobs setup ✅
  • Bible verse of the day ✅
  • Audio bible message of the day ✅
  • Persistent storage ✅
  • Career motivational audio ❎
  • Conversational AI ❎
  • Remainder system ❎
  • Game ❎
  • Settings ❎

A view

a a a

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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