Files
unicord/src/lib/guilds.ts
T
Jaron Pate 3fb707ad93 init
2022-09-17 20:25:07 -05:00

8 lines
300 B
TypeScript

import { Gateway, ObjectCache } from ".";
import { Guild } from "../types";
export class Guilds extends ObjectCache<Guild> {
constructor ({ token, gateway }: { token: string, gateway: Gateway }) {
super({token, gateway, type: 'guilds', events: ['GUILD_CREATE', 'GUILD_UPDATE']});
}
}