DimNS / admin-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geeksonator Bot for PanteleevGroup chats

Go Report Card Audit GitHub release (with filter) License

Install

echo "GEEKSONATOR_TELEGRAM_BOT_TOKEN=\"bot_token_here\"" >> /etc/geeksonator.conf
echo "GEEKSONATOR_TELEGRAM_TIMEOUT_SECONDS=\"15\"" >> /etc/geeksonator.conf
echo "GEEKSONATOR_DEBUG_MODE=\"false\"" >> /etc/geeksonator.conf
sudo chmod 755 /opt/geeksonator
sudo cp geeksonator.service /lib/systemd/user
sudo systemctl enable /lib/systemd/user/geeksonator.service
sudo service geeksonator start

Also, the bot must disable Privacy mode (in BotFather) before being included in groups (otherwise it will not have access to messages to do reply)

Defaults

  • GEEKSONATOR_TELEGRAM_TIMEOUT_SECONDS = 15
  • GEEKSONATOR_DEBUG_MODE = false

Run in debug mode

export GEEKSONATOR_TELEGRAM_BOT_TOKEN="bot_token_here"
export GEEKSONATOR_TELEGRAM_TIMEOUT_SECONDS="5"
export GEEKSONATOR_DEBUG_MODE="true"
/opt/geeksonator

About

License:Apache License 2.0


Languages

Language:Go 96.9%Language:Makefile 3.1%