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.7.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file bhbotlist-3.0.7.tar.gz.

File metadata

  • Download URL: bhbotlist-3.0.7.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for bhbotlist-3.0.7.tar.gz
Algorithm Hash digest
SHA256 eae4e694e393bfbe4a5767d1afdb903ab2094400ecb5ffd2a97a90f7f7941c5d
MD5 d12f1a0878c818a7c276c1e52ccf7c9c
BLAKE2b-256 234117d6ec1704dc73a58e93243343ae43f919da643c9edde6465fff7293a6db

See more details on using hashes here.

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