d-Rickyy-b / myShrugBot

A Telegram bot to express your indifference by sending a shrug!

Home Page:https://t.me/myShrugBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

myShrugBot - A Telegram bot to express your indifference

build test

Quickly send a ¯\_(ツ)_/¯ within a Telegram chat with this simple bot. You can find the hosted version at @myShrugBot on Telegram.

Configuration

This bot uses a configuration file. You can create your own using the sample file config.sample.yml.

bot_token: "<your_bot_token>"

webhook:
  enabled: false
  listen_ip: "127.0.0.1"
  listen_port: 9001
  listen_path: "/"
  url: "example.com/test"
  cert_path: ""
  cert_key_path: ""

Just fill in your bot token. If you want to use a webhook, use the webhook options. The current config only allows for receiving webhooks from a reverse proxy such as nginx.

Usage

Create your config.yml file and put it into the same directory as the binary. You can then simply call the binary.

Usage of myShrugBot:
  -config string
        Path to config file (default "config.yml")

You can also use the parameter -config to speficy a path to another config file.

About

A Telegram bot to express your indifference by sending a shrug!

https://t.me/myShrugBot

License:MIT License


Languages

Language:Go 100.0%