mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 21:24:58 -05:00
fix: async
This commit is contained in:
parent
7c2d7c61d0
commit
70687b3f35
@ -85,7 +85,7 @@ export default function parseToHTML(m: string, tw?: boolean): Promise<string> {
|
||||
curClass == ""
|
||||
? "text-[" + i.color + "]"
|
||||
: " text-[" + i.color + "]";
|
||||
} else {
|
||||
} else {
|
||||
curClass +=
|
||||
curClass == ""
|
||||
? divList[i.color]
|
||||
|
||||
@ -132,7 +132,7 @@ export default serve({
|
||||
if (!initalizedYet) {
|
||||
await init();
|
||||
initalizedYet = true;
|
||||
client.login(process.env.DISCORD_TOKEN);
|
||||
await client.login(process.env.DISCORD_TOKEN);
|
||||
|
||||
console.log(`[REPORTING] Waiting for bot to be ready`);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user