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.
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-1.0.1.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cas_tg-1.0.1.tar.gz.
File metadata
- Download URL: cas_tg-1.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b3ea6ef66f22471b27eddf10dbb28de034073f06ae945642ea50ce6a2bc2f2d
|
|
| MD5 |
1275c97bf3a2962dc4036ad2adddbe64
|
|
| BLAKE2b-256 |
9b781fc4fefc379bac60b462de35c2974557213a55ff9cba9652b2762db92a43
|
File details
Details for the file cas_tg-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cas_tg-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1d4afcfc5cc42c60b3fdc33bcfcf9acc53bd1d840fec35c63dab05d8818be0e
|
|
| MD5 |
902e643628ecde1ecb40ddbe28e2febd
|
|
| BLAKE2b-256 |
3a66d257c06a34056f89030b36f78d2b64f5701b644028f931d98f3d1b8a7f44
|