Skip to content

Commit

Permalink
Remove the old config and update the license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
KiriCattus committed May 26, 2024
1 parent 7190b95 commit ca8ed3a
Show file tree
Hide file tree
Showing 255 changed files with 352 additions and 618 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand All @@ -24,6 +24,7 @@
import com.google.gson.JsonArray;
import com.google.gson.reflect.TypeToken;
import com.google.gson.stream.JsonWriter;
import com.mcmoddev.mmdbot.commander.TheCommander;
import com.mcmoddev.mmdbot.core.util.Constants;
import lombok.extern.slf4j.Slf4j;

Expand Down Expand Up @@ -97,7 +98,7 @@ public void load() {
projects = Constants.Gsons.NO_PRETTY_PRINTING.fromJson(reader, typeOfList);
}
} catch (IOException e) {
log.error("Exception while reading CurseForgeProjects file", e);
TheCommander.LOGGER.error("Exception while reading CurseForgeProjects file", e);
}
}

Expand All @@ -109,7 +110,7 @@ public void save() {
Constants.Gsons.NO_PRETTY_PRINTING.toJson(projects$, writer);
}
} catch (IOException e) {
log.error("Exception while saving CurseForgeProjects file", e);
TheCommander.LOGGER.error("Exception while saving CurseForgeProjects file", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -80,7 +80,7 @@ protected EmbedBuilder getEmbed(final int startingIndex, final int maximum, fina
.setImage(xkcd.img())
.addField("Date", xkcd.day() + "/" + xkcd.month() + "/" + xkcd.year(), true);
} catch (IOException e) {
log.warn("Exception trying to resolve comic ", e);
TheCommander.LOGGER.warn("Exception trying to resolve comic ", e);
return new EmbedBuilder()
.setDescription("There was an exception trying to retrieve that comic: " + e.getLocalizedMessage());
}
Expand All @@ -101,7 +101,7 @@ protected void execute(final SlashCommandEvent event) {
hook.editOriginal("There was an exception executing that command: " + e.getLocalizedMessage())
.setActionRow(DismissListener.createDismissButton())
.queue();
log.error("Exception executing command ", e);
TheCommander.LOGGER.error("Exception executing command ", e);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* MMDBot - https://github.com/MinecraftModDevelopment/MMDBot
* Copyright (C) 2016-2023 <MMD - MinecraftModDevelopment>
* Copyright (C) 2016-2024 <MMD - MinecraftModDevelopment>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
Loading

0 comments on commit ca8ed3a

Please sign in to comment.