mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Redis Timer System
This commit is contained in:
@@ -50,9 +50,12 @@ client.registry
|
||||
})
|
||||
.registerCommandsIn(path.join(__dirname, 'commands'));
|
||||
|
||||
client.on('ready', () => {
|
||||
client.on('ready', async () => {
|
||||
client.logger.info(`[READY] Logged in as ${client.user.tag}! ID: ${client.user.id}`);
|
||||
|
||||
// Set up existing timers
|
||||
await client.timers.fetchAll();
|
||||
|
||||
// Push client-related activities
|
||||
client.activities.push(
|
||||
{ text: () => `${formatNumber(client.guilds.cache.size)} servers`, type: 'WATCHING' },
|
||||
|
||||
Reference in New Issue
Block a user