Skip to content

Commit

Permalink
deployment error
Browse files Browse the repository at this point in the history
  • Loading branch information
KDwevedi committed Oct 30, 2023
1 parent 593c9e6 commit fa0a2ae
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
@@ -1,4 +1,4 @@
from typing import Optional
from typing import Optional, Union
import discord
from discord.ext import commands
import os, sys
Expand Down Expand Up @@ -26,7 +26,7 @@ def __init__(self, discord_userdata):
self.message = None

class RegistrationModal(discord.ui.Modal):
def __init__(self, *, title: str = None, timeout: float | None = None, custom_id: str = None) -> None:
def __init__(self, *, title: str = None, timeout: Union[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', placeholder='To give you the recognition you deserve, could you please share your full name for the certificates!')

Expand Down

0 comments on commit fa0a2ae

Please sign in to comment.