Easy forms and surveys for discord.py.
Project description
discord-ext-forms
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"
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file discord-ext-forms-2.8.0.tar.gz
.
File metadata
- Download URL: discord-ext-forms-2.8.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e79537bbc1ea7a559596c754c0d5851a30b9e88d5671c3dc36be69ba922d2f6 |
|
MD5 | 85082f61830df0bfd53bad4e69ac18b1 |
|
BLAKE2b-256 | 5f1649ef7aecdef7562f53d181a8f0de5d376eecf255e755a15c2295680c0a0d |
File details
Details for the file discord_ext_forms-2.8.0-py3-none-any.whl
.
File metadata
- Download URL: discord_ext_forms-2.8.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51b2639f924010f6fe6cd96bea9babe9ff4e1c0eb74e49e764615c5d68d45cce |
|
MD5 | 1c848b862b870100c64bdad72bab0c1b |
|
BLAKE2b-256 | 0f76158d63ba34169b25adc8af7a72c0b01546f7898b9a23663c6defb7e7c9cf |