mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 22:14:59 -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 == ""
|
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`);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user