Update main.py
This commit is contained in:
parent
1863451e73
commit
480f9c1388
3
main.py
3
main.py
|
|
@ -466,17 +466,20 @@ class keyApplication(ui.Modal):
|
||||||
style=discord.TextStyle.paragraph,
|
style=discord.TextStyle.paragraph,
|
||||||
required=True,
|
required=True,
|
||||||
min_length=100,
|
min_length=100,
|
||||||
|
max_length=600,
|
||||||
)
|
)
|
||||||
q2 = ui.TextInput(
|
q2 = ui.TextInput(
|
||||||
label="Where did you hear about Mercury 2?",
|
label="Where did you hear about Mercury 2?",
|
||||||
style=discord.TextStyle.short,
|
style=discord.TextStyle.short,
|
||||||
required=True,
|
required=True,
|
||||||
min_length=5,
|
min_length=5,
|
||||||
|
max_length=500,
|
||||||
)
|
)
|
||||||
q3 = ui.TextInput(
|
q3 = ui.TextInput(
|
||||||
label="Any questions/suggestions?",
|
label="Any questions/suggestions?",
|
||||||
style=discord.TextStyle.short,
|
style=discord.TextStyle.short,
|
||||||
required=False,
|
required=False,
|
||||||
|
max_length=500,
|
||||||
)
|
)
|
||||||
|
|
||||||
async def on_submit(self, interaction: discord.Interaction):
|
async def on_submit(self, interaction: discord.Interaction):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue