Skip to main content

A wrapper built for the Bots for Discord API built by JackTEK#6669

Project description

BFD

BFD is an API wrapper built for the Bots for Discord API. It covers the entirity of the API, from updating server counts to retrieving a user's bots.

Installation

pip install bfd

A few examples

Here are a few examples that the team quickly whipped up to give a taster of our module:

Updating Server Count

from bfd import update_servers

print(update_servers(431423978696081408, "some_token", 150))

Getting Bot Info

from bfd import Bot

bot = Bot(431423978696081408)

print(bot.raw)

Getting User Info

from bfd import User

user = User(269758783557730314)

print(user.raw)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bfd, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size bfd-1.0.0-py3-none-any.whl (2.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size bfd-1.0.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page