10 lines
345 B
TypeScript
10 lines
345 B
TypeScript
import { Bot } from "https://deno.land/x/grammy/mod.ts";
|
|
import { Kysely } from "npm:kysely";
|
|
import { Ctx } from "../ctx.ts";
|
|
import { CompiledConfig } from "../../cfg/config.ts";
|
|
import { Database } from "../../repo/exports.ts";
|
|
|
|
|
|
export const init = (bot: Bot<Ctx>, db: Kysely<Database>, cfg: CompiledConfig) => {
|
|
const { botCfg } = cfg
|
|
} |