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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbfn-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 29e2c40f6a443435304f78ebf0d2076fa5fdff86eb2ed4b91d1a6ba2de906ea9
MD5 b1b210fb4dab0411a373d73c385a1cf0
BLAKE2b-256 41979f453d80b62f88ffc4dcb01fa055ae3ac3ea18a53ff5e9ba57b2c4c0e63e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbfn-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 087b2c3fde0bc8ec05cf747a03f98fa3f79fd892af958684588a48f121254091
MD5 fdd8bc27db738fd3689f496a118a5a67
BLAKE2b-256 fa0668ebea5b882601936b30cb5f32020da3c1e3c42bb5a96027f38ba0210041

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