selfbot.js
Version:
Un module fais pour intéragir avec l'api de discord. (version modifié pour mieux supporter les selfbots)(renommé car beaucoup de bug)
25 lines (21 loc) • 489 B
JavaScript
const GuildChannel = require('./GuildChannel');
/**
* Represents a guild store channel on Discord.
* @extends {GuildChannel}
*/
class StoreChannel extends GuildChannel {
constructor(guild, data) {
super(guild, data);
this.type = 'store';
}
setup(data) {
super.setup(data);
/**
* If the guild considers this channel NSFW
* @type {boolean}
* @readonly
*/
this.nsfw = data.nsfw;
}
}
module.exports = StoreChannel;