fix: async

This commit is contained in:
dvelo 2024-08-20 22:27:00 -05:00
parent 7c2d7c61d0
commit 70687b3f35
2 changed files with 2 additions and 2 deletions

@ -85,7 +85,7 @@ export default function parseToHTML(m: string, tw?: boolean): Promise<string> {
curClass == "" curClass == ""
? "text-[" + i.color + "]" ? "text-[" + i.color + "]"
: " text-[" + i.color + "]"; : " text-[" + i.color + "]";
} else { } else {
curClass += curClass +=
curClass == "" curClass == ""
? divList[i.color] ? divList[i.color]

@ -132,7 +132,7 @@ export default serve({
if (!initalizedYet) { if (!initalizedYet) {
await init(); await init();
initalizedYet = true; initalizedYet = true;
client.login(process.env.DISCORD_TOKEN); await client.login(process.env.DISCORD_TOKEN);
console.log(`[REPORTING] Waiting for bot to be ready`); console.log(`[REPORTING] Waiting for bot to be ready`);