Skip to content

wfjsw/uzzbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uzzbot (telegram-bot)

Donate button

A Telegram Bot based on plugins using tg. Forked from Yagop's.

# Tested on Ubuntu 14.04, for other OSs check out https://github.com/yagop/telegram-bot/wiki/Installation
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev
# After those dependencies, lets install the bot
cd $HOME
git clone https://github.com/uziins/uzzbot.git
cd uzzbot
./launch.sh install
./launch.sh # Will ask you for a phone number & confirmation code.

Enable more plugins

See the plugins list with !plugins command.

Enable a disabled plugin by !plugins enable [name].

Disable an enabled plugin by !plugins disable [name].

Those commands require a privileged user, privileged users are defined inside data/config.lua (generated by the bot), stop the bot and edit if necessary.

Run it as a daemon

If your Linux/Unix comes with upstart you can run the bot by this way

$ sed -i "s/yourusername/$(whoami)/g" etc/uzzbot.conf
$ sed -i "s_telegrambotpath_$(pwd)_g" etc/uzzbot.conf
$ sudo cp etc/uzzbot.conf /etc/init/
$ sudo start uzzbot # To start it
$ sudo stop uzzbot # To stop it

Bot: uzzbot

Join on the TelegramBot Discussion Group. or Join for uzzbot support.

About

A Telegram Group Management Bot based on plugins - part of DGMP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 98.5%
  • Shell 1.5%