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','first')
    form.add_question('Question 2','second')
    form.add_question('Question 3','third')
    result = await form.start()
    return result

>> result.first
"This was my response to question 1"

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

Uploaded Source

Built Distribution

discord_ext_forms-2.7.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discord-ext-forms-2.7.3.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for discord-ext-forms-2.7.3.tar.gz
Algorithm Hash digest
SHA256 bec33058b201163288346ae38e179624616b191933a6153d46411da5489aea45
MD5 57c494522f012edb37082126ae8a79b3
BLAKE2b-256 47e351441015ddb371785fb47e457b6d9c8185e126d917e477b8a6c7eb391142

See more details on using hashes here.

File details

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

File metadata

  • Download URL: discord_ext_forms-2.7.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for discord_ext_forms-2.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 81efba7672c7f046209f401c4426dc9c177b37995d4a376f4098a6d278ce7c19
MD5 1be7145e1bbfc891051b26e68d2fb602
BLAKE2b-256 90339290289f8283b6905e688d01e77b9b9d462041f21d6434391dd137258294

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