17 lines
318 B
JavaScript
17 lines
318 B
JavaScript
|
const { Structures } = require('discord.js');
|
||
|
|
||
|
const TextChannel = Structures.extend('TextChannel', (TextChannel) => {
|
||
|
|
||
|
class ExtendedTextChannel extends TextChannel {
|
||
|
|
||
|
get display() {
|
||
|
return `#${this.name}`;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
return ExtendedTextChannel;
|
||
|
|
||
|
});
|
||
|
|
||
|
module.exports = TextChannel;
|