Skip to content

Commit

Permalink
better text
Browse files Browse the repository at this point in the history
  • Loading branch information
KDwevedi committed Oct 27, 2023
1 parent eecbe33 commit 914c6fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ def __init__(self, discord_userdata):
class RegistrationModal(discord.ui.Modal):
def __init__(self, *, title: str = None, timeout: float | None = None, custom_id: str = None) -> None:
super().__init__(title=title, timeout=timeout, custom_id=custom_id)
name = discord.ui.TextInput(label='Please Enter Your Name')
name = discord.ui.TextInput(label='Please Enter Your Name', placeholder='To give you the recognition you deserve, could you please share your full name for the certificates!')

async def on_submit(self, interaction: discord.Interaction):
await interaction.response.send_message("Thanks! Now register your Github",view=AuthenticationView(interaction.user.id), ephemeral=True)
await interaction.response.send_message("Thanks! Now please register using your Github so that we can award you points for solving tickets!",view=AuthenticationView(interaction.user.id), ephemeral=True)

class RegistrationView(discord.ui.View):
def __init__(self):
Expand Down

0 comments on commit 914c6fc

Please sign in to comment.