mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 15:06:41 +07:00
29 lines
683 B
TypeScript
29 lines
683 B
TypeScript
import { Config } from "./types";
|
|
|
|
export const defaultConfig: Config = {
|
|
http: { port: 80 },
|
|
telegram: {
|
|
owners: [],
|
|
key: "",
|
|
webhook: { url: "", enabled: false },
|
|
},
|
|
postgres: {
|
|
uri: "postgres://user:password@db/bot",
|
|
},
|
|
logger: { level: "info" },
|
|
vk: {
|
|
endpoint: "/",
|
|
groups: [],
|
|
},
|
|
templates: {
|
|
help: "templates/help.md",
|
|
help_admin: "templates/help_admin.md",
|
|
message_new: "templates/message_new.md",
|
|
wall_post_new: "templates/post_new.md",
|
|
group_join: "templates/group_join.md",
|
|
group_leave: "templates/group_leave.md",
|
|
},
|
|
calendar: {
|
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
},
|
|
};
|