modmail/structure/extensions/Channel.js
2021-06-19 16:06:20 +03:00

19 lines
372 B
JavaScript

const { Structures } = require('discord.js');
const TextChannel = Structures.extend('TextChannel', (TextChannel) => {
return class ExtendedTextChannel extends TextChannel {
constructor(guild, data) {
super(guild, data);
this.answered = false;
this.recipient = null;
}
};
});
module.exports = TextChannel;