mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
8 lines
300 B
TypeScript
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']});
|
|
}
|
|
} |