mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
10 lines
379 B
TypeScript
10 lines
379 B
TypeScript
import { Channel } from "../../types/channel";
|
|
import type { API } from "../api";
|
|
import type { Processor } from "../processor";
|
|
import { ObjectCache } from "./cache";
|
|
|
|
export class Channels extends ObjectCache<Channel, Channel> {
|
|
constructor (api: API, processor: Processor) {
|
|
super(api, processor, 'channels', Channel, ['CHANNEL_CREATE', 'CHANNEL_UPDATE']);
|
|
}
|
|
} |