Fix system message for channel_icon_change

This commit is contained in:
RedGuy12 2023-05-19 19:35:56 -05:00 committed by GitHub
parent 92d350059b
commit 54c62d7ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.'