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.

Cant get content of deleted message

See original GitHub issue

So the message content and author a both null and throw System.AggregateException if a message is deleted that was made before the bot starts.

client.MessageDeleted += async e => { DiscordMember member = await e.Guild.GetMemberAsync(e.Message.Author.Id); var howold = DateTime.UtcNow.Date - e.Message.Author.CreationTimestamp.DateTime.Date; };

discod js had this same issue but they fixed in update 9.0.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
1-max-1commented, Jan 7, 2020

Discord.js is good. I feel like its one of the best discord libraries (If not the best)

1reaction
Emzi0767commented, Jan 8, 2020

I’ve discussed this issue with other library developers, including d.js ones. What you’re seeing is potentially certain optional behaviours in d.js, specifically partial channel preloading, being enabled.

We don’t, and won’t, do that in D#+, as we consider this unnecessary and wasteful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to find and retrieve deleted text messages on Android
Tap the three-dot menu in the upper-right corner and open the Recycle bin. Check your deleted text messages. Long tap the message you...
Read more >
Text messages don't actually get deleted
I'm running 4.1 and I can still pull up old deleted text messages in spotlight search by typing in the area code of...
Read more >
How to recover deleted text messages using your phone or ...
Find the “Messages” folder in your computer's “Library” function on the Finder app. If you're unable to find the Library, simply open Finder...
Read more >
How to Recover Deleted Text Messages: Your Complete ...
Method 2: Recover deleted texts messages from iCloud website · Step 1: Log in to iCloud.com using your Apple ID · Step 2:...
Read more >
Once deleted, can text messages be retrieved?
Once deleted, can text messages be retrieved? ... Yes they can, so if you've been having an affair or doing something dodgy at...
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