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')
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'}]
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file discord-ext-forms-2.6.12.tar.gz.
File metadata
- Download URL: discord-ext-forms-2.6.12.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f027e22cd010b5bcda874779321f69b53b06284bb262ceeaba1ce8077260b75
|
|
| MD5 |
c8771c17e0aba247654a3ee5c54c4fdf
|
|
| BLAKE2b-256 |
8cfb90e496c25935147073eb92f0cf85c9e2c28f24e71f901708fdf4ba21f45d
|
File details
Details for the file discord_ext_forms-2.6.12-py3-none-any.whl.
File metadata
- Download URL: discord_ext_forms-2.6.12-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cb7dee672d45f4777eb4d60fdde57d80064b2c479859d4f8d39b33ab39acf74
|
|
| MD5 |
babd0717066761c7780b1b577c635009
|
|
| BLAKE2b-256 |
51509308c32678c47835343b85a5f0ad7bcf13c685b271cb0457a7f1bfbb91df
|