Update packages, fix Discord and MPP imports

This commit is contained in:
Hri7566 2024-10-11 19:12:24 -04:00
parent 919e2ff7ad
commit 39d95665d4
4 changed files with 5 additions and 5 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -1,5 +1,6 @@
import { EventEmitter } from "events";
import Discord, { SlashCommandBuilder } from "discord.js";
import * as Discord from "discord.js";
import { SlashCommandBuilder } from "discord.js";
import { Logger } from "@util/Logger";
import { CosmicColor } from "@util/CosmicColor";
import gettRPC from "@util/api/trpc";

View File

@ -1,7 +1,7 @@
import Client from "mpp-client-net";
import { Logger } from "@util/Logger";
import gettRPC from "@util/api/trpc";
import { EventEmitter } from "events";
import EventEmitter from "events";
export interface MPPNetBotConfig {
uri: string;

View File

@ -1,9 +1,8 @@
import { loadConfig } from "@util/config";
import { MPPNetBot, type MPPNetBotConfig } from "./Bot";
import { Logger } from "@util/Logger";
const logger = new Logger("big brain");
// import { Logger } from "@util/Logger";
// const logger = new Logger("big brain");
const bots: MPPNetBot[] = [];
const defaults = loadConfig("config/mpp_bots.yml", [