Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
128 changed files with 12249 additions and 18795 deletions
Showing only changes of commit 7a56f0b28a - Show all commits

View File

@ -142,6 +142,10 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
def _sorting_bucket(self):
return ChannelType.text.value
@property
def can_send(self):
return self.guild.me.guild_permissions.send_messages
def permissions_for(self, member):
base = super().permissions_for(member)