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
Close
Hashes for discord_ext_forms-2.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95ba9177352cc01d377a89885fe3e1237a18968bb9644539cb738a222c27f7c9 |
|
MD5 | d48ac41742cfa41a527dc9832c6d403b |
|
BLAKE2b-256 | af3f4d1fcff34051f3168cd1418c6de64acc304cee8c70aaa0e331e6315d4dd8 |