didn't mean to remove this

This commit is contained in:
Moksej 2021-04-17 16:47:15 +02:00 committed by GitHub
parent cdfd918604
commit 93da1d920e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,6 +369,7 @@ class MessageReference:
"""
self = cls(message_id=message.id, channel_id=message.channel.id, guild_id=getattr(message.guild, 'id', None), fail_if_not_exists=fail_if_not_exists)
self._state = message._state
return self
@classmethod
def from_message(cls, message):