Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Checkout this 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.

Metadata

Release files for ICQBot 0.2.3b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ICQBot 0.2.3b0
File Size Uploaded Provenance Actions
ICQBot-0.2.3b0.tar.gz 12.1 kB Without provenance Details for ICQBot-0.2.3b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ICQBot 0.2.3b0
File Interpreter ABI Platform Actions
ICQBot-0.2.3b0-py3-none-any.whl Python 3 none any Details for ICQBot-0.2.3b0-py3-none-any.whl

Total release size: 30.5 kB

Release files / ICQBot-0.2.3b0.tar.gz

Download URL ICQBot-0.2.3b0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
93fd4df191647e3a1e3a4a16eec04bcd2af3b60399ce6f7b590cd026416f63d1
BLAKE2b-256 checksum
How to use checksums
cba7c5e67cec57341a2d971e4effee21d46be069203bd7d532b9d9067e177f1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / ICQBot-0.2.3b0-py3-none-any.whl

Download URL ICQBot-0.2.3b0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7691130f7a3e365b5baa2b241283ecae9806db5125498da32ff4f5973f9b3b7
BLAKE2b-256 checksum
How to use checksums
f304e4230e2c7fadb06b801038a0b799b7fa504c68bac75f1d58513912def8c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for ICQBot 0.2.3b0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page