From 603b7e2cd8d6432e25c55d1d305a24a9a570c63d Mon Sep 17 00:00:00 2001 From: Nekojimi Date: Wed, 29 Sep 2021 20:08:59 +0100 Subject: [PATCH] Print user's proper name, not ID. --- src/main/java/moe/nekojimi/chords/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/moe/nekojimi/chords/Main.java b/src/main/java/moe/nekojimi/chords/Main.java index 03cf9ca..2884db5 100644 --- a/src/main/java/moe/nekojimi/chords/Main.java +++ b/src/main/java/moe/nekojimi/chords/Main.java @@ -185,7 +185,7 @@ public class Main extends ListenerAdapter try { Song song = new Song(new URL(arg)); - song.setRequestedBy(event.getAuthor().getId()); + song.setRequestedBy(event.getAuthor().getName()); song.setRequestedIn(event.getChannel().getId()); // event.getChannel().sendMessage("Downloading ...").queue(); downloader.accept(song);