Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

cas_tg-1.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page