Skip to content

Commit

Permalink
[FirstMessage] fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Sep 24, 2023
1 parent e4c4d2e commit 823a325
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions firstmessage/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ def format_help_for_context(self, ctx: commands.Context) -> str:
async def firstmessage(
self,
ctx: commands.Context,
channel: Optional[
Union[
discord.TextChannel,
discord.Thread,
discord.DMChannel,
discord.GroupChannel,
discord.User,
discord.Member,
],
channel: Union[
discord.TextChannel,
discord.Thread,
discord.DMChannel,
discord.GroupChannel,
discord.User,
discord.Member,
] = commands.CurrentChannel,
):
"""
Expand Down

0 comments on commit 823a325

Please sign in to comment.