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.
channel
1 parent 16c192b commit ef27b55Copy full SHA for ef27b55
discord_slash/model.py
@@ -16,6 +16,7 @@ def __init__(self,
16
self._http = _http
17
self.guild: discord.Guild = _discord.get_guild(int(_json["guild_id"]))
18
self.author: discord.Member = self.guild.get_member(int(_json["member"]["user"]["id"]))
19
+ self.channel = self.guild.get_channel(int(_json["channel_id"]))
20
21
async def send(self,
22
send_type: int = 4,
0 commit comments