Indent code after if statement
This commit is contained in:
parent
30710ade0b
commit
86d97622a8
1 changed files with 5 additions and 5 deletions
10
server.js
10
server.js
|
@ -23,11 +23,11 @@ client.once('ready', () => {
|
||||||
console.log('Ready!');
|
console.log('Ready!');
|
||||||
client.user.setActivity(globalPrefix, { type: 'LISTENING' });
|
client.user.setActivity(globalPrefix, { type: 'LISTENING' });
|
||||||
if (enableLoginMessage === true)
|
if (enableLoginMessage === true)
|
||||||
try{
|
try{
|
||||||
client.channels.cache.get(loginChannel).send(loginMessage)
|
client.channels.cache.get(loginChannel).send(loginMessage)
|
||||||
}catch(err){
|
}catch(err){
|
||||||
console.log("Failed trying to send a message on login.\n")
|
console.log("Failed trying to send a message on login.\n")
|
||||||
}
|
}
|
||||||
loadServerPrefixes(client)
|
loadServerPrefixes(client)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue