mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 23:16:41 +07:00
improve vscode launching
This commit is contained in:
parent
4bc8b89b78
commit
31af4e11b1
10 changed files with 252 additions and 76 deletions
24
src/config/default.ts
Normal file
24
src/config/default.ts
Normal file
|
@ -0,0 +1,24 @@
|
|||
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: {
|
||||
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",
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue