mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
31 lines
556 B
JavaScript
31 lines
556 B
JavaScript
const GuildChannel = require('./GuildChannel');
|
|
const TextBasedChannel = require('./interface/TextBasedChannel');
|
|
|
|
/**
|
|
* Represents a Server Text Channel on Discord.
|
|
* @extends {GuildChannel}
|
|
* @implements {TextBasedChannel}
|
|
*/
|
|
class TextChannel extends GuildChannel {
|
|
|
|
constructor(guild, data) {
|
|
super(guild, data);
|
|
this.messages = new Map();
|
|
}
|
|
|
|
sendMessage() {
|
|
return;
|
|
}
|
|
|
|
sendTTSMessage() {
|
|
return;
|
|
}
|
|
|
|
_cacheMessage() {
|
|
return;
|
|
}
|
|
}
|
|
|
|
TextBasedChannel.applyToClass(TextChannel, true);
|
|
|
|
module.exports = TextChannel;
|