Update packages, fix Discord and MPP imports
This commit is contained in:
parent
919e2ff7ad
commit
39d95665d4
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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", [
|
||||
|
|
Loading…
Reference in New Issue