Compare commits

...

2 Commits

Author SHA1 Message Date
103381e5ac
Delete Pipe.java 2022-01-20 21:33:32 +01:00
7f25b9ba7b
Update build.gradle 2022-01-20 21:26:32 +01:00
2 changed files with 2 additions and 45 deletions

View File

@ -61,6 +61,7 @@ dependencies {
compile("org.springframework.boot:spring-boot-starter-data-jpa") {
exclude group:"org.springframework.boot", module: "spring-boot-starter-logging"
}
implementation(platform("org.apache.logging.log4j:log4j-bom:2.17.1"))
// Use MySQL Connector-J
compile 'mysql:mysql-connector-java'
compile 'org.reflections:reflections:0.9.12'
@ -68,6 +69,7 @@ dependencies {
compile 'com.google.api-client:google-api-client:1.31.5'
compile 'com.google.apis:google-api-services-youtube:v3-rev20210410-1.31.0'
compile group: 'org.jsoup', name: 'jsoup', version: '1.13.1'
testCompile('org.springframework.boot:spring-boot-starter-test')

View File

@ -1,45 +0,0 @@
package net.Broken.Commands.Over18;
import net.Broken.Tools.Command.NoDev;
import net.Broken.Tools.Command.NumberedCommande;
import org.apache.logging.log4j.LogManager;
/**
* Ass command, return random picture from feelation.com
*/
@NoDev()
public class Pipe extends NumberedCommande {
public Pipe() {
super(LogManager.getLogger(), "http://feelation.com/","-2/","featured-img","img");
}
@Override
public String toString() {
return "Pipe";
}
@Override
public boolean isPrivateUsable() {
return false;
}
@Override
public boolean isAdminCmd() {
return false;
}
/**
* Determines if the command is usable only by bot level admin user
*
* @return boolean
*/
@Override
public boolean isBotAdminCmd() {
return false;
}
@Override
public boolean isNSFW() {
return true;
}
}