Update stuff, fix stuff, not my proudest commit

This commit is contained in:
Hiajen Hiajen 2021-12-10 21:42:04 +01:00
parent fdcba3a386
commit ab353d24f6
7 changed files with 18 additions and 12 deletions

View file

@ -5,21 +5,25 @@ plugins {
group 'BOT'
version '1.0.0'
version '1.0.1'
def jdaVersion = '4.2.0_225'
def jdaVersion = '4.4.0_350'
def jsonsimpleVersion = '1.1.1'
def jodatimeVersion = '2.10.6'
def self4JVersion = '1.7.30'
def log4jVersion = '2.13.3'
def JSON = '4.12.0'
def jodatimeVersion = '2.10.13'
def self4JVersion = '1.7.32'
def log4jVersion = '2.15.0'
def JSON = '4.13.0'
mainClassName = 'MissingIDent'
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
repositories {
jcenter()
mavenCentral()
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {

View file

@ -18,7 +18,7 @@ public class Admin extends SuperModule {
public static final String command = "admin";
public Admin(GuildController guildController) {
super(command, guildController, null);
super(command, guildController);
}
@Override

View file

@ -99,6 +99,9 @@ public class Controller extends ListenerAdapter {
@Override
public void onGenericEvent(@NotNull GenericEvent event){
if (guilds == null)
return;
if (event instanceof GuildJoinEvent)
onGuildJoin((GuildJoinEvent) event);
else if (event instanceof GuildLeaveEvent)

View file

@ -103,7 +103,6 @@ public class GuildController {
if (checkForActivate(Purge.COMMAND))
modules.add(new Purge(this));
if (checkForActivate(Quote.command))
modules.add(new Quote(this));

View file

@ -14,7 +14,7 @@ public class Help extends SuperModule {
public static final String command = "help";
public Help( GuildController guildController){
super(command, guildController, null);
super(command, guildController);
}
@Override

View file

@ -36,7 +36,7 @@ public class Fold extends SuperModule{
userFile = "/home/bots/MissingIdentifier/MissingIdent/user_summary.txt";
public Fold(GuildController guildController){
super(COMMAND, guildController, null);
super(COMMAND, guildController);
}
@Override

View file

@ -19,7 +19,7 @@ public class Purge extends SuperModule{
public static final String COMMAND = "purge";
public Purge(GuildController guildController){
super(COMMAND, guildController, null);
super(COMMAND, guildController);
}
@Override