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:
deepsource-autofix[bot] 2022-05-17 08:30:18 +00:00 committed by GitHub
parent a2f7331a8b
commit 45d9588c66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
};
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);
});