Jda: Get old deleted/edited messages

Created on 11 Dec 2017  路  2Comments  路  Source: DV8FromTheWorld/JDA

General Troubleshooting

Hey there! Before you report a bug or suggest a new feature,
please make sure to follow these steps first!

  • [x] I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.
  • [x] I have checked for similar issues.
  • [x] I have updated to the latest JDA version.

This is not the place to learn Java. Please refer to StackOverflow
for your general programming questions.

Template

Issue Type

  • [ ] Bug Report
  • [x] Feature Request

Description

MessageDeleteEvent and MessageUpdateEvent should definitely have methods to get the old deleted/edited message, as of now, there is nothing (as far as I know) that does that.

discord issue

Most helpful comment

You will have to cache messages yourself if you need to have such features.

Discord itself doesn't provide that via event and we don't cache it because it would just unnecessarily fill up ram no matter if used or not, while our other caches (users, guilds, channels) are mandatory for JDA to work.

All 2 comments

JDA cannot provide information that discord doesn't provide.

You will have to cache messages yourself if you need to have such features.

Discord itself doesn't provide that via event and we don't cache it because it would just unnecessarily fill up ram no matter if used or not, while our other caches (users, guilds, channels) are mandatory for JDA to work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xeu100 picture xeu100  路  5Comments

Mas281 picture Mas281  路  3Comments

Frederikam picture Frederikam  路  4Comments

Frederikam picture Frederikam  路  3Comments

YukioKeno picture YukioKeno  路  6Comments