@@ -184,6 +184,7 @@ async def on_message_edit(self, before: Message, after: Message):
184184 embed .set_author (name = str (before .author ), icon_url = before .author .display_avatar .url )
185185 embed .add_field (name = t .channel , value = before .channel .mention )
186186 embed .add_field (name = t .author , value = before .author .mention )
187+ embed .add_field (name = t .message_id , value = before .id )
187188 embed .add_field (name = t .url , value = before .jump_url , inline = False )
188189 add_field (embed , t .old_content , old_message )
189190 add_field (embed , t .new_content , after .content )
@@ -203,6 +204,7 @@ async def on_raw_message_edit(self, channel: TextChannel, message: Message):
203204 embed .add_field (name = t .channel , value = channel .mention )
204205 if message is not None :
205206 embed .add_field (name = t .author , value = message .author .mention )
207+ embed .add_field (name = t .message_id , value = message .id )
206208 embed .add_field (name = t .url , value = message .jump_url , inline = False )
207209 add_field (embed , t .new_content , message .content )
208210 await edit_channel .send (embed = embed )
@@ -222,6 +224,7 @@ async def on_message_delete(self, message: Message):
222224 embed .set_author (name = str (message .author ), icon_url = message .author .display_avatar .url )
223225 embed .add_field (name = t .channel , value = message .channel .mention )
224226 embed .add_field (name = t .author , value = message .author .mention )
227+ embed .add_field (name = t .message_id , value = message .id )
225228 add_field (embed , t .old_content , message .content )
226229 if message .attachments :
227230 out = []
0 commit comments