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();
}`
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 = ;
Thanks