Skip to main content

Easy forms and surveys for discord.py.

Project description

discord-ext-forms

Documentation Status MIT License PR's Welcome Downloads Code of Conduct GitHub last commit Open Source

An easier way to make forms and surveys in discord.​py.

This module is a very simple way to ask questions and create complete forms in discord.py without using an entire 30 lines!

Example:

from discord.ext.forms import Form
from discord.ext import commands
bot = commands.Bot(command_prefix="!")

@bot.command()
async def testform(ctx):
    form = Form(ctx,'Title')
    form.add_question('Question 1')
    form.add_question('Question 2')
    form.add_question('Question 3')
    result = await form.start()
    return result


>> [{'Question 1','user input'},{'Question 2','user input'},{'Question 3','user input'}]

Example GIF Using this module, you can make a 3 question form with only 5 lines of code.

Links

How To Contribute

Changelog

Code of Conduct

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

discord-ext-forms-2.6.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

discord_ext_forms-2.6.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file discord-ext-forms-2.6.0.tar.gz.

File metadata

  • Download URL: discord-ext-forms-2.6.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for discord-ext-forms-2.6.0.tar.gz
Algorithm Hash digest
SHA256 1d0c99f5ee5e37de11eb9265aa72d8e2a9a2be23efc581bb3b6b2ea6ef06a34d
MD5 32320953b8974f273003ea295aa922cc
BLAKE2b-256 7d462117d5b30893ce3c506cfec692836a4f09bce7614e0f8e181cd708010f7c

See more details on using hashes here.

File details

Details for the file discord_ext_forms-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: discord_ext_forms-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for discord_ext_forms-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f6b1c90516d859e438956852962da778f8af0ee3aa5531c5bc48d37338c1e9c
MD5 04bc2cf2c0f07b49587bfd4e8d22bc94
BLAKE2b-256 11c049ff934d86aef9535dac2d6f14b5f05ebf2d0cc30792a03cad458c3372a7

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