Fix gatewayCache
This commit is contained in:
parent
973794cbc5
commit
8517e71811
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import {
|
||||||
} from '../types/gateway.ts'
|
} from '../types/gateway.ts'
|
||||||
import { gatewayHandlers } from './handlers/index.ts'
|
import { gatewayHandlers } from './handlers/index.ts'
|
||||||
import { GATEWAY_BOT } from '../types/endpoint.ts'
|
import { GATEWAY_BOT } from '../types/endpoint.ts'
|
||||||
import { GatewayCache } from "../managers/GatewayCache.ts"
|
import { GatewayCache } from "../managers/gatewayCache.ts"
|
||||||
import { ClientActivityPayload } from "../structures/presence.ts"
|
import { ClientActivityPayload } from "../structures/presence.ts"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -25,7 +25,7 @@ bot.setAdapter(new DefaultCacheAdapter(bot))
|
||||||
bot.on('ready', () => {
|
bot.on('ready', () => {
|
||||||
console.log(`[Login] Logged in as ${bot.user?.tag}!`)
|
console.log(`[Login] Logged in as ${bot.user?.tag}!`)
|
||||||
bot.setPresence({
|
bot.setPresence({
|
||||||
name: "Test After Ready",
|
name: "Test - Ready",
|
||||||
type: 'COMPETING'
|
type: 'COMPETING'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue