Welcome to toxicbl.py
this PyPi package helps you get info of bots , users and post data about user / server count with your token on Toxic Bot List
Getting started
You need to import the module first
from toxicbl import bots # or users
An example about scraping info for bots (Same can be done with users)
bots.get_info('your_id') # returns a usable info object
An example about updating your bot's info (discord.py used)
from toxicbl import data
@client.event
async def on_ready()
data.update({
'token': 'your_token',
'serversCount' : str(len(client.servers)),
'usersCount' : str(len(client.users))
})
Bot Info Object
Returns an object containing:
bot_tag: String # Bot's tag
avatar_url: String # Bot avatarUrl
library: String # Library of bot
prefix: String # Prefix of bot
short_description: String # Short description of bot in TBL site
long_description: String # Long description of bot in TBL site (contains markdown & html)
owner_tag: String # Full tag of owner
authorize_link: String # Invite link of the bot
server_count: String : Number of servers
user_count: String : Number of users
User Info Object
Returns an object containing:
biography: String # User's biography if set
avatar_url: String # User's avatar url
username: String # User's username
num_of_bots: Integer # Number of bots created by user
Metadata
Release files for toxicbl 2.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| toxicbl-2.3.1.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toxicbl-2.3.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.1 kB
Release files / toxicbl-2.3.1.tar.gz
| Download URL | toxicbl-2.3.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b616a7e0f36c7ad227253a7313f97c072aaab2fcc5ee12753b4bc94abaf81452
|
|
BLAKE2b-256 checksum How to use checksums |
29b9333a5b36dbe6bc15a54ca24ce83908e95e1da35d218634a0b989a5962869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.0
|
Release files / toxicbl-2.3.1-py2-none-any.whl
| Download URL | toxicbl-2.3.1-py2-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
ce79966dfc2a44aa85d39a32940af42512bbe33615af124cb21fec7575cb5c03
|
|
BLAKE2b-256 checksum How to use checksums |
b32065d55846e458acc5738586d155bf343809c666b90f6b3f049b8aacab1af5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.0
|