Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d5ba5f

Browse files
committed
Changes to procfile and main.ts
1 parent 69facee commit 4d5ba5f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: yarn run prod:start
1+
worker: yarn run prod:start

src/main.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ Canister.on("message", async (message: Message) => {
3535
});
3636
// setTimeout(() => {
3737
// botMessage.delete();
38-
3938
// }, pollTimeout * 1000);
4039
} catch (err) {
4140
console.error(err);
4241
}
4342
}
4443
});
45-
46-
Canister.login("NDAzMDQwMjk0MDMzMTYyMjQw.DUYDhA.7A1x8FSeqCi_2A06LVQ9hYWbkSU");
44+
Canister.login(process.env.BOT_TOKEN);

0 commit comments

Comments
 (0)