overhauled stuff

This commit is contained in:
Parker2991
2025-08-12 10:39:50 -05:00
parent c0149e36d1
commit c1c09466b4
57 changed files with 1818 additions and 303 deletions
+2 -3
View File
@@ -1,6 +1,6 @@
const CommandSource = require("../command_util/command_source");
class CommandHandlerModule {
class command_handler {
constructor(context) {
let ratelimit = 0;
const bot = context.bot;
@@ -9,7 +9,6 @@ class CommandHandlerModule {
bot.on("parsed_message", (data) => {
try {
// console.log(data.contents)
if (data.type !== "minecraft:chat") return;
const prefixes = config.prefixes;
prefixes.map((prefix) => {
@@ -44,4 +43,4 @@ class CommandHandlerModule {
});
}
}
module.exports = CommandHandlerModule;
module.exports = command_handler;