We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SlashContext.channel
1 parent bbec2e0 commit 1237599Copy full SHA for 1237599
discord_slash/context.py
@@ -68,7 +68,7 @@ def guild(self) -> typing.Optional[discord.Guild]:
68
return self.bot.get_guild(self.guild_id) if self.guild_id else None
69
70
@property
71
- def channel(self) -> typing.Optional[typing.Union[discord.abc.GuildChannel, discord.abc.PrivateChannel]]:
+ def channel(self) -> typing.Optional[typing.Union[discord.TextChannel, discord.DMChannel]]:
72
"""
73
Channel instance of the command invoke.
74
0 commit comments