discord.js-selfbot-v13/src/structures/DirectoryChannel.js

21 lines
364 B
JavaScript
Raw Normal View History

2022-05-14 08:06:15 +00:00
'use strict';
const { Channel } = require('./Channel');
/**
2023-01-08 07:39:47 +00:00
* Represents a channel that displays a directory of guilds.
* @extends {Channel}
2022-05-14 08:06:15 +00:00
*/
class DirectoryChannel extends Channel {
_patch(data) {
super._patch(data);
/**
* The channel's name
* @type {string}
*/
this.name = data.name;
}
}
module.exports = DirectoryChannel;