No project description provided
Project description
ICQBOT
An actually working ICQ bot framework
Purpose
I made this bot framework for personal use, since the original ICQ bot framework is a mess and almost impossible to work with.
This bot allows for easy development and has a concise syntax based of Aiogram with a really simple async impl.
Getting started
Installation
You can install this framework with the command pip install ICQBot
.
Example
Current state
The bot does not implements full control of the ICQ new api yet, I'll try to map the other endpoints asap. The current implementations are:
- Self:
/self/get
- Chats:
/chats/members/delete
POST /chats/avatar/set
/chats/sendActions
/chats/getInfo
/chats/getAdmins
/chats/getMembers
/chats/getBlockedUsers
/chats/getPendingUsers
/chats/blockUser
/chats/unblockUser
/chats/resolvePending
/chats/setTitle
/chats/setAbout
/chats/setRules
/chats/pinMessage
/chats/unpinMessage
- Message:
/messages/deleteMessages
/messages/sendText
/messages/editText
/messages/answerCallbackQuery
GET /messages/sendFile
POST /messages/sendFile
GET /messages/sendVoice
POST /messages/sendVoice
- Files:
/files/getInfo
/messages/sendFile
- Events:
/events/get
newMessage
callbackQuery
TODO
- Map all of the others endpoints
- Use matches with regex or string match to search for terms in messages
Notes
There's a known bug on aiohttp on windows that closes the event loop. I'm trying to fix this rn.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ICQBot-0.2.3b0.tar.gz
.
File metadata
- Download URL: ICQBot-0.2.3b0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93fd4df191647e3a1e3a4a16eec04bcd2af3b60399ce6f7b590cd026416f63d1 |
|
MD5 | 88c9e67ff53ac62157dca3fb43258741 |
|
BLAKE2b-256 | cba7c5e67cec57341a2d971e4effee21d46be069203bd7d532b9d9067e177f1b |
File details
Details for the file ICQBot-0.2.3b0-py3-none-any.whl
.
File metadata
- Download URL: ICQBot-0.2.3b0-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7691130f7a3e365b5baa2b241283ecae9806db5125498da32ff4f5973f9b3b7 |
|
MD5 | 55b3bff33c7a9c876f5b1889e167addd |
|
BLAKE2b-256 | f304e4230e2c7fadb06b801038a0b799b7fa504c68bac75f1d58513912def8c4 |