Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #75 from BigBotNetwork/greg-dev
Browse files Browse the repository at this point in the history
9 very nice Commands 😏
  • Loading branch information
Skidder authored Nov 17, 2019
2 parents 8ad76ef + 5b80a9f commit 56031f2
Show file tree
Hide file tree
Showing 10 changed files with 588 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/main/java/com/bbn/hadder/Hadder.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
import com.bbn.hadder.commands.general.*;
import com.bbn.hadder.commands.misc.*;
import com.bbn.hadder.commands.moderation.*;
import com.bbn.hadder.commands.nsfw.*;
import com.bbn.hadder.commands.owner.*;
import com.bbn.hadder.commands.fun.GifCommand;
import com.bbn.hadder.commands.settings.PrefixCommand;
import com.bbn.hadder.commands.fun.*;
import com.bbn.hadder.commands.settings.*;
import com.bbn.hadder.core.*;
import com.bbn.hadder.listener.*;
import net.dv8tion.jda.api.entities.Activity;
Expand Down Expand Up @@ -56,6 +57,15 @@ private static void startBot() {
new InviteCommand(),
new NickCommand(),
new GuildPrefixCommand(),
new BlowjobCommand(),
new PornCommand(),
new AnalCommand(),
new CumCommand(),
new TransCommand(),
new PussyCommand(),
new BoobsCommand(),
new FeetCommand(),
new EroticCommand(),
new RoleCommand()), config);

builder.addEventListeners(
Expand Down
64 changes: 64 additions & 0 deletions src/main/java/com/bbn/hadder/commands/nsfw/AnalCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package com.bbn.hadder.commands.nsfw;

/*
* @author Skidder / GregTCLTK
*/

import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

import java.io.IOException;
import java.time.Instant;

public class AnalCommand implements Command {

@Override
public void executed(String[] args, CommandEvent event) {
if (event.getTextChannel().isNSFW()) {

OkHttpClient caller = new OkHttpClient();
Request request = new Request.Builder().url("https://nekos.life/api/v2/img/anal").build();

try {

Response response = caller.newCall(request).execute();
String url = response.body().string().replace("{\"url\":\"", "");

EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO, builder)
.setAuthor("GIF not showing? Click here", url.replace("\"}", ""))
.setImage(url.replace("\"}", ""))
.setTimestamp(Instant.now())
.setFooter("Anal")
.build()).queue();

} catch (IOException e) {
e.printStackTrace();
}

} else {
EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.WARNING, builder).setTitle("No NSFW").setDescription("You can only execute this command in NSFW channels!").build()).queue();
}
}

@Override
public String[] labels() {
return new String[]{"anal"};
}

@Override
public String description() {
return "Shows a random anal gif.";
}

@Override
public String usage() {
return "";
}
}
64 changes: 64 additions & 0 deletions src/main/java/com/bbn/hadder/commands/nsfw/BlowjobCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package com.bbn.hadder.commands.nsfw;

/*
* @author Skidder / GregTCLTK
*/

import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

import java.io.IOException;
import java.time.Instant;

public class BlowjobCommand implements Command {

@Override
public void executed(String[] args, CommandEvent event) {
if (event.getTextChannel().isNSFW()) {

OkHttpClient caller = new OkHttpClient();
Request request = new Request.Builder().url("https://nekos.life/api/v2/img/blowjob").build();

try {

Response response = caller.newCall(request).execute();
String url = response.body().string().replace("{\"url\":\"", "");

EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO, builder)
.setAuthor("Image not showing? Click here", url.replace("\"}", ""))
.setImage(url.replace("\"}", ""))
.setTimestamp(Instant.now())
.setFooter("Blowjob")
.build()).queue();

} catch (IOException e) {
e.printStackTrace();
}

} else {
EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.WARNING, builder).setTitle("No NSFW").setDescription("You can only execute this command in NSFW channels!").build()).queue();
}
}

@Override
public String[] labels() {
return new String[]{"blowjob"};
}

@Override
public String description() {
return "Shows a random Blowjob picture.";
}

@Override
public String usage() {
return "";
}
}
64 changes: 64 additions & 0 deletions src/main/java/com/bbn/hadder/commands/nsfw/BoobsCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package com.bbn.hadder.commands.nsfw;

/*
* @author Skidder / GregTCLTK
*/

import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

import java.io.IOException;
import java.time.Instant;

public class BoobsCommand implements Command {

@Override
public void executed(String[] args, CommandEvent event) {
if (event.getTextChannel().isNSFW()) {

OkHttpClient caller = new OkHttpClient();
Request request = new Request.Builder().url("https://nekos.life/api/v2/img/boobs").build();

try {

Response response = caller.newCall(request).execute();
String url = response.body().string().replace("{\"url\":\"", "");

EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO, builder)
.setAuthor("GIF not showing? Click here", url.replace("\"}", ""))
.setImage(url.replace("\"}", ""))
.setTimestamp(Instant.now())
.setFooter("Boobs")
.build()).queue();

} catch (IOException e) {
e.printStackTrace();
}

} else {
EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.WARNING, builder).setTitle("No NSFW").setDescription("You can only execute this command in NSFW channels!").build()).queue();
}
}

@Override
public String[] labels() {
return new String[]{"boobs"};
}

@Override
public String description() {
return "Shows a random boob gif.";
}

@Override
public String usage() {
return "";
}
}
64 changes: 64 additions & 0 deletions src/main/java/com/bbn/hadder/commands/nsfw/CumCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package com.bbn.hadder.commands.nsfw;

/*
* @author Skidder / GregTCLTK
*/

import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

import java.io.IOException;
import java.time.Instant;

public class CumCommand implements Command {

@Override
public void executed(String[] args, CommandEvent event) {
if (event.getTextChannel().isNSFW()) {

OkHttpClient caller = new OkHttpClient();
Request request = new Request.Builder().url("https://nekos.life/api/v2/img/cum").build();

try {

Response response = caller.newCall(request).execute();
String url = response.body().string().replace("{\"url\":\"", "");

EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO, builder)
.setAuthor("GIF not showing? Click here", url.replace("\"}", ""))
.setImage(url.replace("\"}", ""))
.setTimestamp(Instant.now())
.setFooter("Cum")
.build()).queue();

} catch (IOException e) {
e.printStackTrace();
}

} else {
EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.WARNING, builder).setTitle("No NSFW").setDescription("You can only execute this command in NSFW channels!").build()).queue();
}
}

@Override
public String[] labels() {
return new String[]{"cum"};
}

@Override
public String description() {
return "Shows a random cum gif.";
}

@Override
public String usage() {
return "";
}
}
64 changes: 64 additions & 0 deletions src/main/java/com/bbn/hadder/commands/nsfw/EroticCommand.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package com.bbn.hadder.commands.nsfw;

/*
* @author Skidder / GregTCLTK
*/

import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

import java.io.IOException;
import java.time.Instant;

public class EroticCommand implements Command {

@Override
public void executed(String[] args, CommandEvent event) {
if (event.getTextChannel().isNSFW()) {

OkHttpClient caller = new OkHttpClient();
Request request = new Request.Builder().url("https://nekos.life/api/v2/img/erok").build();

try {

Response response = caller.newCall(request).execute();
String url = response.body().string().replace("{\"url\":\"", "");

EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO, builder)
.setAuthor("Image not showing? Click here", url.replace("\"}", ""))
.setImage(url.replace("\"}", ""))
.setTimestamp(Instant.now())
.setFooter("Erotic")
.build()).queue();

} catch (IOException e) {
e.printStackTrace();
}

} else {
EmbedBuilder builder = new EmbedBuilder();
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.WARNING, builder).setTitle("No NSFW").setDescription("You can only execute this command in NSFW channels!").build()).queue();
}
}

@Override
public String[] labels() {
return new String[]{"erotic"};
}

@Override
public String description() {
return "Shows a random erotic picture.";
}

@Override
public String usage() {
return "";
}
}
Loading

0 comments on commit 56031f2

Please sign in to comment.