This commit is contained in:
2025-08-15 19:20:41 +09:00
parent 1c18a639c1
commit cdb8d5f764
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
import { Client, GatewayIntentBits } from 'discord.js'; import { Client, GatewayIntentBits } from 'discord.js';
import fetch from 'node-fetch'; import fetch from 'node-fetch';
import { BaseControllerPlugin } from '@clusterio/controller'; import { BaseControllerPlugin } from '@clusterio/controller';
import { InstanceActionEvent } from './info.ts'; import { InstanceActionEvent } from './info';
import { ChatEvent } from './message.ts'; import { ChatEvent } from './message';
const MAX_DISCORD_MESSAGE_LENGTH = 1950; const MAX_DISCORD_MESSAGE_LENGTH = 1950;
const MIN_CONFIDENCE_SCORE = 10.0; const MIN_CONFIDENCE_SCORE = 10.0;

View File

@@ -1,6 +1,6 @@
import * as lib from "@clusterio/lib"; import * as lib from "@clusterio/lib";
import { BaseInstancePlugin } from "@clusterio/host"; import { BaseInstancePlugin } from "@clusterio/host";
import { InstanceActionEvent } from "./info.ts"; import { InstanceActionEvent } from "./info";
type MessageQueueItem = [string, unknown]; // [action, content] type MessageQueueItem = [string, unknown]; // [action, content]
type ControllerEvent = 'connect' | 'disconnect' | string; type ControllerEvent = 'connect' | 'disconnect' | string;