teacaptainx 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/Procfile +1 -1
  2. package/index.js +13 -9
  3. package/package.json +3 -2
package/Procfile CHANGED
@@ -1 +1 @@
1
- worker: node index.js
1
+ web: node index.js
package/index.js CHANGED
@@ -14,15 +14,19 @@ async function sendCryptoPrices() {
14
14
  const prices = response.data;
15
15
 
16
16
  const message = `
17
- ╔═════════════════════════════════════════════════╗
18
- ║ Crypto Prices ║╝
19
- ╠═════════════════════════════════════════════════╣╝
20
- ║ 🟠 Bitcoin: $${prices.bitcoin.usd}
21
- ║ 🟣 Ethereum: $${prices.ethereum.usd} ║
22
- 🟢 Solana: $${prices.solana.usd}
23
- ║ 🔵 Binance Coin: $${prices.binancecoin.usd} ║
24
- 🟡 Dogecoin: $${prices.dogecoin.usd}
25
- ╚═════════════════════════════════════════════════╝╝
17
+ ╔═══════════════════════════════════════╗
18
+ ║ Crypto Prices
19
+ ╠═══════════════════════════════════════╣
20
+ ║ 🟠 Bitcoin: $${prices.bitcoin.usd}
21
+
22
+ 🟣 Ethereum: $${prices.ethereum.usd}
23
+
24
+ 🟢 Solana: $${prices.solana.usd}
25
+
26
+ ║ 🔵 Binance Coin: $${prices.binancecoin.usd}
27
+
28
+ ║ 🟡 Dogecoin: $${prices.dogecoin.usd}
29
+ ╚════════════════════════════════════════╝
26
30
  `;
27
31
 
28
32
  bot.sendMessage(chatId, message);
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "teacaptainx",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "teaOSSProject",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
+ "start": "node index.js",
7
8
  "test": "echo \"Error: no test specified\" && exit 1"
8
9
  },
9
10
  "repository": {
10
11
  "type": "git",
11
12
  "url": "git+https://github.com/mrriad009/teacaptainx.git"
12
13
  },
13
- "author": "",
14
+ "author": "captainbnb",
14
15
  "license": "ISC",
15
16
  "bugs": {
16
17
  "url": "https://github.com/mrriad009/teacaptainx/issues"