Checking if user banned by CAS (Combot Anti-Spam System)
Project description
check(id: str|int) -> bool Check if a user banned by CAS (Combot Anti-Spam System).
-
Args:
- id (str | int): The user ID to be checked.
-
Returns:
- bool: Returns True if the user is banned or False if the user is not banned.
get_messages(id) -> dict[str, list, str] Check information about user.
- Args:
- id (str | int): The user ID to be checked.
- Returns:
- dict[str, list, str]: Returns the number of spam messages, messages, and the time of the ban. If there is no user in ban, returns None.
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
cas_tg-0.0.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
cas_tg-0.0.4-py3-none-any.whl
(3.0 kB
view hashes)