mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix: support for async cache
This commit is contained in:
parent
e8294fec85
commit
5570ca41fc
2
src/cache/resources/guilds.ts
vendored
2
src/cache/resources/guilds.ts
vendored
@ -43,7 +43,7 @@ export class Guilds extends BaseResource<any, APIGuild | GatewayGuildCreateDispa
|
||||
}
|
||||
|
||||
override async remove(id: string) {
|
||||
const keysChannels = this.cache.channels?.keys(id) ?? [];
|
||||
const keysChannels = (await this.cache.channels?.keys(id)) ?? [];
|
||||
await this.cache.adapter.bulkRemove(
|
||||
(
|
||||
await Promise.all([
|
||||
|
Loading…
x
Reference in New Issue
Block a user