discord-jda / JDA

Java wrapper for the popular chat & VOIP service: Discord https://discord.com
Apache License 2.0
4.28k stars 738 forks source link

Getting username from deleted message #696

Closed sachinhasaphatass closed 6 years ago

sachinhasaphatass commented 6 years ago

Hey, I am working on a logging system for a discord, and was wondering how I can get the name of the user who deleted a message through the JDA API. Currently stuck on this:

`@Override public void onGuildMessageDelete(GuildMessageDeleteEvent event) { User user = ;

    Log log = new Log(bot, user, LogType.MESSAGE_DELETE, null);
    log.sendLogMessage();
}`

Thanks

Artuto commented 6 years ago

JDA doesnt has Message caching.

jagrosh commented 6 years ago

The issue tracker is for bug reports and feature requests. For questions, please join the official JDA Discord Server.

sachinhasaphatass commented 6 years ago

PPZLPZLZZZZ ZHELP :cry: