Format code with standardjs and prettier
This commit fixes the style issues introduced in a2f7331
according to the output
from standardjs and prettier.
Details: https://deepsource.io/gh/ZynerOrg/xyter/transform/9baf351b-16dd-4add-80de-54a38c3ce023/
This commit is contained in:
parent
a2f7331a8b
commit
45d9588c66
1 changed files with 37 additions and 9 deletions
46
src/index.ts
46
src/index.ts
|
@ -14,16 +14,44 @@ const main = async () => {
|
|||
intents,
|
||||
});
|
||||
|
||||
database().then(async () => {logger.silly("Database process started")}).catch(async (err) => {logger.error(err)})
|
||||
schedules(client).then(async () => {logger.silly("Schedules process started")}).catch(async (err) => {logger.error(err)})
|
||||
database()
|
||||
.then(async () => {
|
||||
logger.silly("Database process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
logger.error(err);
|
||||
});
|
||||
schedules(client)
|
||||
.then(async () => {
|
||||
logger.silly("Schedules process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
logger.error(err);
|
||||
});
|
||||
|
||||
commands(client)
|
||||
.then(async () => {
|
||||
logger.silly("Commands process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
logger.error(err);
|
||||
});
|
||||
|
||||
commands(client).then(async () => {logger.silly("Commands process started")}).catch(async (err) => {logger.error(err)})
|
||||
events(client)
|
||||
.then(async () => {
|
||||
logger.silly("Events process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
logger.error(err);
|
||||
});
|
||||
|
||||
events(client).then(async () => {logger.silly("Events process started")}).catch(async (err) => {logger.error(err)})
|
||||
client.login(token);
|
||||
};
|
||||
|
||||
|
||||
client.login(token);
|
||||
}
|
||||
|
||||
main().then(async () => {logger.silly("Main process started")}).catch(async (err) => {logger.error(err)})
|
||||
main()
|
||||
.then(async () => {
|
||||
logger.silly("Main process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
logger.error(err);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue