Skip to main content

API for bhlist.co.in

Project description

bhbotlist

useful library for bhlist.co.in

API DOCS

Link to api docs: API DOCS

Installation

pip install bhbotlist

example

Server Count Post :

from bhbotlist import bhbotlist
from discord.ext import commands

client = commands.Bot(command_prefix="!") 
dbl = bhbotlist(client,"token of bhbotlist")

@client.event
async def on_ready():
  x = await dbl.serverCountPost()
  print(x)

client.run("token")

Search bot:

from bhbotlist import bhbotlist

client = commands.Bot(command_prefix="!") 
dbl = bhbotlist(client,"token of bhbotlist")
id=botid

a = dbl.search(id)
print(a)

All functions in api:

1: serverCountPost()
2: search()
3: hasVoted()

JOIN OUR DISCORD SERVER FOR SUPPORT
DISCORD LINK

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

bhbotlist-3.0.4.tar.gz (2.8 kB view hashes)

Uploaded Source

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