Skip to content

Commit

Permalink
support 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-zaidali committed Oct 7, 2023
1 parent a67b011 commit 7c8de2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timer/models.py
Expand Up @@ -69,7 +69,7 @@ async def _callback(self, button: "JoinTimerButton", interaction: discord.Intera


class JoinTimerButton(Button[TimerView]):
def __init__(self, emoji: str | None, callback, disabled=False, custom_id="JOIN_TIMER_BUTTON"):
def __init__(self, emoji: Optional[str], callback, disabled=False, custom_id="JOIN_TIMER_BUTTON"):
super().__init__(
emoji=emoji,
style=discord.ButtonStyle.green,
Expand Down

0 comments on commit 7c8de2b

Please sign in to comment.