1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-09 15:29:57 +00:00

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

@ -2023,7 +2023,7 @@ class Message(PartialMessage, Hashable):
return f'{self.author.name} changed the channel name: **{self.content}**'
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:
return f'{self.author.name} pinned a message to this channel.'