Browse Source

Fix system message for channel_icon_change

pull/9422/head
RedGuy12 2 years ago
committed by GitHub
parent
commit
54c62d7ef8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/message.py

2
discord/message.py

@ -2023,7 +2023,7 @@ class Message(PartialMessage, Hashable):
return f'{self.author.name} changed the channel name: **{self.content}**' return f'{self.author.name} changed the channel name: **{self.content}**'
if self.type is MessageType.channel_icon_change: if self.type is MessageType.channel_icon_change:
return f'{self.author.name} changed the channel icon.' return f'{self.author.name} changed the group icon.'
if self.type is MessageType.pins_add: if self.type is MessageType.pins_add:
return f'{self.author.name} pinned a message to this channel.' return f'{self.author.name} pinned a message to this channel.'

Loading…
Cancel
Save