first day
This commit is contained in:
parent
8cce261bf6
commit
af653d15b0
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="PrettierConfiguration">
|
<component name="PrettierConfiguration">
|
||||||
<option name="myConfigurationMode" value="AUTOMATIC" />
|
|
||||||
<option name="myRunOnSave" value="true" />
|
<option name="myRunOnSave" value="true" />
|
||||||
|
<option name="myRunOnReformat" value="true" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -1 +1,3 @@
|
|||||||
nodeLinker: node-modules
|
nodeLinker: node-modules
|
||||||
|
|
||||||
|
yarnPath: .yarn/releases/yarn-3.6.1.cjs
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"typescript": "5.1.6"
|
"typescript": "4.9.5"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"./packages/**/*"
|
"./packages/**/*"
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
import { loadBotConfig } from "config-loader";
|
import { loadBotConfig } from "config-loader";
|
||||||
|
import { Telegraf } from 'telegraf';
|
||||||
|
|
||||||
const config = loadBotConfig();
|
const config = loadBotConfig();
|
||||||
|
const bot = new Telegraf(config.token);
|
||||||
console.log(JSON.stringify(config));
|
console.log(JSON.stringify(config));
|
||||||
|
18
yarn.lock
18
yarn.lock
@ -251,7 +251,7 @@ __metadata:
|
|||||||
lodash: 4.17.21
|
lodash: 4.17.21
|
||||||
prettier: 3.0.1
|
prettier: 3.0.1
|
||||||
ts-node: 10.9.1
|
ts-node: 10.9.1
|
||||||
typescript: 5.1.6
|
typescript: 4.9.5
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
@ -340,23 +340,23 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@npm:5.1.6":
|
"typescript@npm:4.9.5":
|
||||||
version: 5.1.6
|
version: 4.9.5
|
||||||
resolution: "typescript@npm:5.1.6"
|
resolution: "typescript@npm:4.9.5"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: b2f2c35096035fe1f5facd1e38922ccb8558996331405eb00a5111cc948b2e733163cc22fab5db46992aba7dd520fff637f2c1df4996ff0e134e77d3249a7350
|
checksum: ee000bc26848147ad423b581bd250075662a354d84f0e06eb76d3b892328d8d4440b7487b5a83e851b12b255f55d71835b008a66cbf8f255a11e4400159237db
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@patch:typescript@5.1.6#~builtin<compat/typescript>":
|
"typescript@patch:typescript@4.9.5#~builtin<compat/typescript>":
|
||||||
version: 5.1.6
|
version: 4.9.5
|
||||||
resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin<compat/typescript>::version=5.1.6&hash=5da071"
|
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=289587"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: f53bfe97f7c8b2b6d23cf572750d4e7d1e0c5fff1c36d859d0ec84556a827b8785077bc27676bf7e71fae538e517c3ecc0f37e7f593be913d884805d931bc8be
|
checksum: 1f8f3b6aaea19f0f67cba79057674ba580438a7db55057eb89cc06950483c5d632115c14077f6663ea76fd09fce3c190e6414bb98582ec80aa5a4eaf345d5b68
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user