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-3.0.3.tar.gz
.
File metadata
- Download URL: discord-ext-forms-3.0.3.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2980d90fc45dc410bc2ee9540e71240ca56375837127794c05e816f2fa11de27 |
|
MD5 | 6d0c8593504a8d8dd270b5cfcac94587 |
|
BLAKE2b-256 | a257081779b918c8f6a46ed165ceb904f466673339ee4f099b0d2d63e1b39c24 |
File details
Details for the file discord_ext_forms-3.0.3-py3-none-any.whl
.
File metadata
- Download URL: discord_ext_forms-3.0.3-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c0bdb162a6e884e49e4f1cc013be3b2f9d6c1c06c18b980305175def21b04f8 |
|
MD5 | 1932ca8982a55bd654662c48aaa2c5e0 |
|
BLAKE2b-256 | 4a7fd5377e31af69dd0ac9918e54858f10a227f5132af62fda0ae15b34e44638 |