Browse Source

Don't use 3.9+ syntax

pull/10106/head
ItsWilliboy 4 months ago
parent
commit
3498a7f67e
No known key found for this signature in database GPG Key ID: A77DA821B97055C2
  1. 2
      discord/ext/commands/context.py

2
discord/ext/commands/context.py

@ -789,7 +789,7 @@ class Context(discord.abc.Messageable, Generic[BotT]):
""" """
if self.interaction is None: if self.interaction is None:
return Typing(self) return Typing(self)
return DeferTyping[BotT](self, ephemeral=ephemeral) return DeferTyping(self, ephemeral=ephemeral)
async def defer(self, *, ephemeral: bool = False) -> None: async def defer(self, *, ephemeral: bool = False) -> None:
"""|coro| """|coro|

Loading…
Cancel
Save