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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbfn-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 680725d060fbb1d803fa0d2681006eb92d7d121967b035641ffbe9a5436a9c1b
MD5 9f691d43fb9dd229ee2905f4e564b4f4
BLAKE2b-256 d250deb25b736a6c8f57a35c59d1bff188109ee4dfa1aac98ca2d4aefdfdc11a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dbfn-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 225b5f36b889f2579de8c9bc0b2c0aded75f28b55a4afc633150ba14d1a6f3f8
MD5 5674fba3ebb358c5a33990bb68cd6c40
BLAKE2b-256 9c670e44d826041f197520fb2d2ab9fa565a33d4d51dea1f74498ae9ac36e89a

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