updated lib versions

fixed config loading format
filtered more output
longer yt playlists supported
This commit is contained in:
John Grosh
2017-09-10 23:38:59 -04:00
parent 5deb41c651
commit fe62e03367
9 changed files with 56 additions and 53 deletions

View File

@@ -150,6 +150,7 @@ public class FormatUtil {
out+="\n**And "+(list.size()-6)+" more...**";
return out;
}
public static String listOfVChannels(List<VoiceChannel> list, String query)
{
String out = " Multiple voice channels found matching \""+query+"\":";
@@ -159,6 +160,7 @@ public class FormatUtil {
out+="\n**And "+(list.size()-6)+" more...**";
return out;
}
public static String listOfRoles(List<Role> list, String query)
{
String out = " Multiple text channels found matching \""+query+"\":";
@@ -168,4 +170,9 @@ public class FormatUtil {
out+="\n**And "+(list.size()-6)+" more...**";
return out;
}
public static String filter(String input)
{
return input.replace("@everyone", "@\u0435veryone").replace("@here", "@h\u0435re").trim();
}
}