upgrade project and add deploy workflow
Some checks failed
Deploy Abondance Bot / deploy (push) Failing after 24s
Some checks failed
Deploy Abondance Bot / deploy (push) Failing after 24s
This commit is contained in:
parent
0dabb7c3c0
commit
3a50bd061a
10 changed files with 358 additions and 108 deletions
7
index.js
7
index.js
|
|
@ -1,7 +1,10 @@
|
|||
import { initMembersChecker } from "./src/features/membersChecker.js";
|
||||
import { initDiscordBot } from "./src/features/discordBot.js";
|
||||
|
||||
(async () => {
|
||||
try {
|
||||
await initDiscordBot();
|
||||
await initMembersChecker();
|
||||
})();
|
||||
} catch (error) {
|
||||
console.error("❌ Impossible de démarrer le bot :", error);
|
||||
process.exitCode = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue