Sylviorus Wrapper
Project description
Installation Requirements
pip install sylviorus
How to use
from sylviorus import SYL
x = SYL()
syl = x.get_info(user.id)
print(x)
print(x.reason)
How to add Auto ban Code?
Add This Code on Your Gban Module check_and_ban
x = SYL()
syl = x.get_info(int(user.id))
if not syl['blacklisted']:
return
else:
chat.kick_member(user_id)
reason , enf , user = syl['reason'] , syl['enforcer'] , syl['user']
print(reason)
#Show User is Banned or not in user information
try:
x = SYL()
syl = x.get_info(int(user.id))
if not syl['blacklisted']:
pass
else:
if syl:
print(syl.reason)
except:
pass # don't crash if api is down :)
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
sylviorus-2.1.tar.gz
(15.1 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
sylviorus-2.1-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file sylviorus-2.1.tar.gz.
File metadata
- Download URL: sylviorus-2.1.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6412164316852eb12c778b28527440351b1ca0e79aa6a49bd589e0b9ad9169b9
|
|
| MD5 |
7538d5e9daaa61fc2638bdc5344fe3cd
|
|
| BLAKE2b-256 |
c5cb051252fa25f5e155bb344fc19cea9c31336c3205ebe8b31d566511dac67e
|
File details
Details for the file sylviorus-2.1-py3-none-any.whl.
File metadata
- Download URL: sylviorus-2.1-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d26405b57e580fbd3da810f84612f83010ce9f68e15882b0148ae01fca0a2d6
|
|
| MD5 |
b4022282124b77f24f91ee340ce38364
|
|
| BLAKE2b-256 |
f3ffad23cff750655710e8408ba40c2ee770ff610400b83bf78f6934ccc753ee
|