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 Python 3

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