Compare commits

..

No commits in common. "103381e5ac91e0dbfd854ae9c810838c308c9708" and "f4b6ef20b4fb6ef9bda73a31bac43a3c554afc2c" have entirely different histories.

2 changed files with 45 additions and 2 deletions

View File

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

View File

@ -0,0 +1,45 @@
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;
}
}