Added it so that you can have spacers in title by using _ in titles.

This commit is contained in:
Joel 2021-02-20 02:17:52 +01:00
parent d79a13fa2d
commit 0e28612fec

@ -34,7 +34,7 @@ public class SayCommand extends BaseCommand {
//TODO a way to add images, and such to the embeds.
String description = args.stream().skip(2).collect(Collectors.joining(" "));
EmbedBuilder embedBuilder = EmbedUtils.defaultEmbed();
embedBuilder.setTitle(args.get(1));
embedBuilder.setTitle(args.get(1).replace("_", " "));
embedBuilder.setDescription(description);
event.getChannel().sendMessage(embedBuilder.build()).queue();
}