Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Releases: thrzl/discord-ext-forms

Version 2.7.2

24 Feb 15:46
Compare
Choose a tag to compare

2.7.2

Added ReactConfirm, a form that will let you turn this:

embed=discord.Embed(title=f"{self.bot.emoji} Is this correct?",description=f"**Panel Channel:** {form.channel.mention}\n**Panel Emoji:** {form.emoji}\n**Panel Message:** {form.message}")
msg = await ctx.send(embed=embed)
confirm = ReactionForm(msg,self.bot,ctx.author)
confirm.add_reaction('✅', True)
confirm.add_reaction('❌', False)
ans = await confirm.start()

to this:

embed=discord.Embed(title=f"{self.bot.emoji} Is this correct?",description=f"**Panel Channel:** {form.channel.mention}\n**Panel Emoji:** {form.emoji}\n**Panel Message:** {form.message}")
        msg = await ctx.send(embed=embed)
        confirm = ReactionConfirm(msg,self.bot,ctx.author)
        ans = await confirm.start()

We also now have a category validation for text forms.

Version 2.6.12

20 Feb 02:08
6417683
Compare
Choose a tag to compare

2.6.12

Bugfix to fixing the errors that would happen when using input validation.

Form field name is now required, and the returned item is FormResponse.

Example:

form.add_field("E","first")
form.add_field("EE","second")

await form.start()

>> form.first
"This is what i said for the first question"

>> form.second
"This is what i said for the second question"

Version 2.6.10

07 Jan 19:45
bb019e2
Compare
Choose a tag to compare

Fake release to fix pip

Version 2.6.9

07 Jan 19:32
Compare
Choose a tag to compare

I removed unnecessary prints.

Version 2.6.8

07 Jan 19:04
Compare
Choose a tag to compare

Long story short, I fixed the test forms-

Patch

07 Jan 18:55
Compare
Choose a tag to compare

Text forms broke, and I'm unsure of why... This is a fix

Version 2.6.0

07 Jan 01:12
Compare
Choose a tag to compare

Changelog v2.6.0

Text Forms

  • The return type of a text form is now a single dictionary, and the add_question method now allows you to set a preferred dictionary key for the question.
  • Input validation is now stable!

Docs

The documentation is now available, and it is located here.

Contribute

Again: please remember that I welcome contributions!

Version 2.3.5b

06 Jan 18:55
Compare
Choose a tag to compare
Version 2.3.5b Pre-release
Pre-release

Changelog v2.3.5b

Text Forms

  • The return type of a text form is now a single dictionary, and the add_question method now allows you to set a preferred dictionary key for the question.
  • Input validation is also in beta now!

Docs

The documentation is now available, and it is located here.

Contribute

Again: please remember that I welcome contributions!

Stable v2.0.4

04 Jan 20:22
Compare
Choose a tag to compare

Changelog v2.0.4

Reactions

The reaction extension has been changed a lot and is officially out of beta. Some of the new features are:

  • Menus
  • Reaction Forms
  • Increased Stability

Text Forms

Input validation is coming soon! With input validation, the bot will be able to either ignore or alert the user if their response is somehow wrong.

Contribute

Remember, contributions are always welcome! Just fork the project and make a pull request! Don't be scared of messing things up, if I see a mistake I'll help you out!

First Release

03 Jan 17:50
9652db4
Compare
Choose a tag to compare

Release 1.0.0

Currently only has embed forms, reaction forms are coming soon!