question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getMessageContentRow() from message in MessageDeleteEvent

See original GitHub issue

General Troubleshooting

  • I have checked for similar issues on the Issue-tracker.
  • I have updated to the latest JDA version
  • I have checked the branches or the maintainers’ PRs for upcoming features.

Feature Request

Hey jda.

I was working using the MessageDeleteEvent and I really want to get the deleted message content, if you wondering why I didn’t use the AuditLog, it’s because of the message from privateChannel i can’t get the content so I wonder if you can add a future that gives message content, this will make this event really useful and less work for others to get the message content without calling auditlog

Example Use-Case

public String getMessageContentRow() {
   return message.getContentRow();
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MinnDevelopmentcommented, Jun 27, 2022

Duplicate of #569

0reactions
Tais993commented, Jun 27, 2022

Discord doesn’t give you that information either, JDA cannot give it either. There’s 2 users in the channel, the bot and the user. So figure something out so you know whenever the bot (you) deleted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get old deleted/edited messages · Issue #569 - GitHub
MessageDeleteEvent and MessageUpdateEvent should definitely have methods ... getMessageContentRow() from message in MessageDeleteEvent #2166.
Read more >
MessageDeleteEvent (JDA 5.0.0-beta.2 API)
Indicates that a Message was deleted in a MessageChannel . Can be used to detect when a Message is deleted. No matter if...
Read more >
net.dv8tion.jda.core.events.message.MessageDeleteEvent ...
Can be used to detect when a Message is deleted. No matter if private or guild. JDA does not have a cache for...
Read more >
DV8FromTheWorld JDA Statistics & Issues - Codesti
Issue Title State Comments Created Date Updated Date RuleScreen Accept Event closed 1 2022‑11‑13 2022‑11‑24 MessageRecievedEvent running 2 times closed 7 2022‑10‑30 2022‑11‑24 GuildManager setInvitesDisabled Error...
Read more >
Austin Keener JDA Issues - Giters
Please redirect the following message to the devs: JDA 4.4.0_350. Closed 20 days ago 1 ... getMessageContentRow() from message in MessageDeleteEvent.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found