make all imports nicer

This commit is contained in:
2025-07-24 14:22:28 +01:00
parent d07b9cf290
commit 1321af66cd
62 changed files with 242 additions and 227 deletions

View File

@@ -1,6 +1,6 @@
import { EventSubChannelChatMessageEvent } from "@twurple/eventsub-base";
import { User } from "../user";
import { type userType } from "../commands";
import User from "user";
import { type userType } from "commands";
export class Item {
public readonly name: string;
@@ -31,8 +31,8 @@ export class Item {
};
import { readdir } from 'node:fs/promises';
import type { userRecord } from "../db/connection";
import { updateUserRecord } from "../db/dbUser";
import type { userRecord } from "db/connection";
import { updateUserRecord } from "db/dbUser";
const items = new Map<string, Item>;
const emptyInventory: inventory = {};
const itemarray: string[] = [];