Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thrzl/discord-ext-forms
❓ a simpler way to make forms, surveys, and reaction input using discord.py.
https://github.com/thrzl/discord-ext-forms
discord discord-bot discord-ext discord-ext-forms discord-py python python-3 python3 surveys
Last synced: 3 months ago
JSON representation
❓ a simpler way to make forms, surveys, and reaction input using discord.py.
- Host: GitHub
- URL: https://github.com/thrzl/discord-ext-forms
- Owner: thrzl
- License: mit
- Archived: true
- Created: 2021-01-02T19:04:48.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T11:16:06.000Z (over 2 years ago)
- Last Synced: 2024-09-25T15:51:04.413Z (4 months ago)
- Topics: discord, discord-bot, discord-ext, discord-ext-forms, discord-py, python, python-3, python3, surveys
- Language: Python
- Homepage: https://forms.terabyteis.me
- Size: 854 KB
- Stars: 20
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-discordpy - thrzl/discord-ext-forms - A simpler way to make forms, surveys, and reaction input using discord.py. (Archived/Deprecated / Miscellaneous)
README
# discord-ext-forms
[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/isigebengu-mikey/discord-ext-forms/LICENSE)
[![PR's Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com)
[![Downloads](https://pepy.tech/badge/discord-ext-forms)](https://pepy.tech/project/discord-ext-forms)
[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat)](https://github.com/isigebengu-mikey/discord-ext-forms/CODE_OF_CONDUCT.md)
![GitHub last commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat)
[![Open Source](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://opensource.org/)### 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:
```py
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"
```
![Example GIF](https://mikey.has-no-bra.in/9NoRXO.gif)
Using this module, you can make a 3 question form with only 5 lines of code.## Links
### [How To Contribute](contribute.md)
### [Changelog](CHANGELOG.md)
### [Code of Conduct](CODE_OF_CONDUCT.md)