added pause command

use embed for nowplaying
This commit is contained in:
John Grosh
2017-06-22 01:45:11 -04:00
parent ebed4f972a
commit b158e70495
6 changed files with 161 additions and 52 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ public class Bot extends ListenerAdapter {
otherText = tchan.getTopic().substring(tchan.getTopic().indexOf("\u200B"));
else
otherText = "\u200B\n "+tchan.getTopic();
String text = FormatUtil.formattedAudio(handler, guild.getJDA(), true)+otherText;
String text = FormatUtil.formattedAudio(handler, guild.getJDA())+otherText;
if(!text.equals(tchan.getTopic()))
tchan.getManager().setTopic(text).queue();
}