tmux-iocompiler
Version:
Realtime i/o compiler bot
34 lines • 965 B
TypeScript
/// <reference types="node" />
import { SpawnOptions } from "child_process";
import { Scenes, Telegraf } from "telegraf";
export type TelegramBotToken = "string";
export type Chatid = string | number;
export type UserId = string | number;
export type Username = string;
export interface Config {
telegram?: Partial<Telegraf.Options<Scenes.SceneContext<Scenes.SceneSessionData>>>;
codeLogs?: Chatid;
chatLogs?: Chatid;
errorLogs?: UserId;
ttl: number;
ownerId?: UserId;
admins?: UserId[];
version?: string;
versionNo?: number | string;
startSymbol?: string;
owner?: string;
group?: Username;
channel?: Username;
token?: string;
python?: string;
java?: string;
javac?: string;
go?: string;
node?: string;
config?: Config;
spawnOptions?: SpawnOptions;
configure?: (cnf: Config) => void;
allowed?: string[] | number[];
exes?: any;
}
//# sourceMappingURL=interfaces.d.ts.map