Indent code after if statement

This commit is contained in:
SileNce5k 2021-06-14 20:24:27 +02:00
parent 30710ade0b
commit 86d97622a8
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -23,11 +23,11 @@ client.once('ready', () => {
console.log('Ready!');
client.user.setActivity(globalPrefix, { type: 'LISTENING' });
if (enableLoginMessage === true)
try{
client.channels.cache.get(loginChannel).send(loginMessage)
}catch(err){
console.log("Failed trying to send a message on login.\n")
}
try{
client.channels.cache.get(loginChannel).send(loginMessage)
}catch(err){
console.log("Failed trying to send a message on login.\n")
}
loadServerPrefixes(client)
});