|
|
@ -185,7 +185,7 @@ public class Main extends ListenerAdapter |
|
|
|
try |
|
|
|
try |
|
|
|
{ |
|
|
|
{ |
|
|
|
Song song = new Song(new URL(arg)); |
|
|
|
Song song = new Song(new URL(arg)); |
|
|
|
song.setRequestedBy(event.getAuthor().getId()); |
|
|
|
song.setRequestedBy(event.getAuthor().getName()); |
|
|
|
song.setRequestedIn(event.getChannel().getId()); |
|
|
|
song.setRequestedIn(event.getChannel().getId()); |
|
|
|
// event.getChannel().sendMessage("Downloading ...").queue();
|
|
|
|
// event.getChannel().sendMessage("Downloading ...").queue();
|
|
|
|
downloader.accept(song); |
|
|
|
downloader.accept(song); |
|
|
|