mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
More rewrites
This commit is contained in:
15
src/Structures/TextChannel.js
Normal file
15
src/Structures/TextChannel.js
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
var Channel = require("./Channel.js");
|
||||
var Cache = require("../Util/Cache.js");
|
||||
|
||||
class TextChannel extends Channel{
|
||||
constructor(data, client){
|
||||
|
||||
super(data, client);
|
||||
this.messages = new Cache("id", client.options.maximumMessages);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = TextChannel;
|
||||
Reference in New Issue
Block a user