Pure Python interface for ICQ Bot API. Bot cookbook for Humans.


Keywords
python, icq, bot, api, messaging
License
MIT
Install
pip install python-icq-bot==0.0.19

Documentation

🐍 python-icq-bot

Pure Python interface for ICQ Bot API. Bot cookbook for Humans.

Table of contents

Introduction

This library provides complete ICQ Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5, 3.6 and 3.7.

Getting started

Create your own bot by sending the /newbot command to MegaBot and follow the instructions.

Note a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.

Installing

Install using pip:

pip install --upgrade python-icq-bot

Install from sources:

git clone https://github.com/icq-bot/python-icq-bot.git
cd python-icq-bot
python setup.py install

Example

See the project example directory.

Some ICQ bots you can play with right now:
Chat ID Bot [source code]
Echo Bot [source code]
Giphy Bot [source code]
Hash Bot [source code]
Meme Bot
OAuth Bot [source code]
Reformat Bot [source code]
Stickers Bot
URL Decode Bot [source code]
URL Encode Bot [source code]
Vinci Bot
WolframAlpha Bot [source code]

Starting your bot

Without Virtualenv:

python my_bot.py

Using Virtualenv:

# Initializing Virtualenv.
virtualenv venv

# Activating Virtualenv.
source venv/bin/activate

# Installing python-icq-bot library into local venv directory.
pip install --upgrade python-icq-bot

# Starting your bot.
python my_bot.py

# Deactivating virtualenv.
deactivate

Get in touch

python-icq-bot channel