This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from BigBotNetwork/greg-dev
9 very nice Commands 😏
- Loading branch information
Showing
10 changed files
with
588 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
src/main/java/com/bbn/hadder/commands/nsfw/AnalCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
64
src/main/java/com/bbn/hadder/commands/nsfw/BlowjobCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
64
src/main/java/com/bbn/hadder/commands/nsfw/BoobsCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
64
src/main/java/com/bbn/hadder/commands/nsfw/CumCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
64
src/main/java/com/bbn/hadder/commands/nsfw/EroticCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ""; | ||
} | ||
} |
Oops, something went wrong.