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

Uploaded Source

Built Distribution

dbfn-1.0.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file dbfn-1.0.1.tar.gz.

File metadata

  • Download URL: dbfn-1.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for dbfn-1.0.1.tar.gz
Algorithm Hash digest
SHA256 65d6044bb5d3ee0e84d7f878c4621552a867bfa2d23357385b7621966f6ca843
MD5 1a7c09f4c5d3ab3009fec11cb541fe68
BLAKE2b-256 e5cb8ce0dc448d92bfbdfa4ea8fe1626fe1ace907c290195d117deccc24158a1

See more details on using hashes here.

File details

Details for the file dbfn-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: dbfn-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for dbfn-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c81d6dd514310cc87ac17a20553624b7ab405bd420543a171de08b5f7ed2d3
MD5 f49efa579bee2dec5e7aa1d66b3d6adb
BLAKE2b-256 2e0fa8db72b4c438de999b045110f3f3ca01ebf8b64ad664e5f8ba21706f6799

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