feat: simpler logging

This commit is contained in:
TrèsAbhi committed 2023-10-15 15:52:35 -05:00
1 parent 43f634e198
commit 9495ae2336
7 files changed
+7 -22

No files matched your search

-2
View File
@@ -136,12 +136,10 @@ commands.then((awaitedCommands) => {
});
try {
console.log(`Refreshing ${publicCommands.length} public command(s).`);
rest.put(Routes.applicationCommands(getClientId()), {
body: publicCommands,
});
console.log(`Refreshing ${guildCommands.length} guild command(s).`);
(isDev()
? [discord.test_guild_id]
: [discord.tres_guild_id, discord.sklld_guild_id]
+1 -6
View File
@@ -1,10 +1,5 @@
import { Client } from 'discord.js';
import isDev from '../core/blitzkrieg/isDev';
export default function ready(client: Client<true>) {
console.log(
`Logged in as ${client.user.tag} in ${
isDev() ? 'development' : 'production'
} mode across ${client.guilds.cache.size} servers`,
);
console.log(`🟢 Bot ${client.shard?.ids[0]} launched`);
}