mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-19 05:57:38 +00:00
11 lines
320 B
TypeScript
11 lines
320 B
TypeScript
|
|
import type { Unicord } from "..";
|
|
import { Channel } from "../types/channel";
|
|
import { UnicordObjectCache } from "./cache";
|
|
|
|
export class UnicordChannelsCache extends UnicordObjectCache<Channel> {
|
|
constructor(self: Unicord) {
|
|
super(self, 'channels', Channel, ['CHANNEL_CREATE', 'CHANNEL_UPDATE']);
|
|
}
|
|
}
|