mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
starting a huge rewrite
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
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']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user