requested by shivaco ;)
This commit is contained in:
parent
60d383cb51
commit
7a56f0b28a
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user