Release v1.0.0 #345

Merged
greg6775 merged 68 commits from greg-dev into master 2020-01-24 17:49:10 +01:00
Showing only changes of commit e807f2c2ff - Show all commits

View file

@ -16,10 +16,10 @@ public class PornCommand implements Command {
if (e.getTextChannel().isNSFW()) { if (e.getTextChannel().isNSFW()) {
String url = Request.get("https://api.nekos.dev/api/v3/images/nsfw/gif/classic/"); String url = Request.get("https://api.nekos.dev/api/v3/images/nsfw/gif/classic/");
e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO) e.getTextChannel().sendMessage(e.getMessageEditor().getMessage(MessageEditor.MessageType.INFO)
.setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url.replace("\"}", "")) .setAuthor(e.getMessageEditor().getTerm("commands.nsfw.gif.error.title"), url)
.setImage(url.replace("\"}", "")) .setImage(url)
.setFooter("Porn") .setFooter("Porn")
.build()).queue(); .build()).queue();