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
Close
Hashes for discord_ext_forms-2.6.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0453a28d0c8f48469352a9d46d4adbcd47a84c39b93986e2d494f83fd0fde26 |
|
MD5 | 2d5d747ad057d48ffd382543aeef1dd8 |
|
BLAKE2b-256 | 64b0164bae02a61467daa85ec0ee44fa71efc45bc46e752494d2c4861cbc3f56 |