aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/client
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-24 00:56:16 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-24 00:56:16 -0400
commit4176b6258e44e4a095376aaf0f4c687244243a69 (patch)
tree3b9144be9a2045483c90d92fff05b3ca0b288e52 /src/listeners/client
parente80446e23060c0325bbd6db620920d86694ec3ce (diff)
downloadtanzanite-4176b6258e44e4a095376aaf0f4c687244243a69.tar.gz
tanzanite-4176b6258e44e4a095376aaf0f4c687244243a69.tar.bz2
tanzanite-4176b6258e44e4a095376aaf0f4c687244243a69.zip
feat(*): Began working on other punishment commands etc
Diffstat (limited to 'src/listeners/client')
-rw-r--r--src/listeners/client/ready.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/listeners/client/ready.ts b/src/listeners/client/ready.ts
index a87d216..1a51527 100644
--- a/src/listeners/client/ready.ts
+++ b/src/listeners/client/ready.ts
@@ -10,15 +10,15 @@ export default class ReadyListener extends BushListener {
}
public async exec(): Promise<void> {
- //@ts-expect-error: ik its private, this is the only time I need to access it outside of its class
- const timeStamp = chalk.bgGreen(this.client.logger.getTimeStamp()),
- tag = chalk.magenta(this.client.user.tag),
- guildCount = chalk.magenta(this.client.guilds.cache.size.toLocaleString()),
- userCount = chalk.magenta(this.client.users.cache.size.toLocaleString());
+ const tag = `<<${this.client.user.tag}>>`,
+ guildCount = `<<${this.client.guilds.cache.size.toLocaleString()}>>`,
+ userCount = `<<${this.client.users.cache.size.toLocaleString()}>>`;
- console.log(`${timeStamp} Logged in to ${tag} serving ${guildCount} guilds and ${userCount} users.`);
+ this.client.logger.success('Ready', `Logged in to ${tag} serving ${guildCount} guilds and ${userCount} users.`);
console.log(
- chalk.blue(`----------------------------------------------------------------------${this.client.config.dev ? '---' : ''}`)
+ chalk.blue(
+ `------------------------------------------------------------------------------${this.client.config.dev ? '---' : ''}`
+ )
);
this.client.user.setPresence({