Skip to main content

Discord Bot Functions. Includes reaction books with more feature to be added

Project description

The Discord Bot Functions Module contains functions to enhance and simplify your python Discord Bot.

Instalation

pip install dbfn

Usage and examples At the moment it only contains one function: Reaction Books, which allows the user to create interactable embeds

An example of a basic book

from dbfn import reactionbook

# (inside a cog)
async def function(self, ctx):

	book = reactionbook(self.bot, ctx)
	book.createpages("This page only has one line")
	book.createpages(["This page only has...", "...two"])
	await book.createbook(TITLE="Example book", MODE="numbers")

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

dbfn-1.0.6.tar.gz (6.0 kB view hashes)

Uploaded source

Built Distribution

dbfn-1.0.6-py3-none-any.whl (18.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page