Include user tag in message logger
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a48daf7c8d
commit
7d068892e2
@ -21,7 +21,7 @@ public class MessageLogger extends ListenerAdapter
|
||||
public void onMessageReceived(@NotNull MessageReceivedEvent event)
|
||||
{
|
||||
String toLog = "";
|
||||
String userName = event.getAuthor().getName();
|
||||
String userName = event.getAuthor().getAsTag();
|
||||
String message = event.getMessage().getContentDisplay();
|
||||
|
||||
if(event.getChannel() instanceof TextChannel)
|
||||
|
Loading…
Reference in New Issue
Block a user