feat: ClientUserSettingManager
This commit is contained in:
@@ -11,7 +11,6 @@ const Webhook = require('./Webhook');
|
||||
const WelcomeScreen = require('./WelcomeScreen');
|
||||
const { Error } = require('../errors');
|
||||
const AutoModerationRuleManager = require('../managers/AutoModerationRuleManager');
|
||||
const GuildApplicationCommandManager = require('../managers/GuildApplicationCommandManager');
|
||||
const GuildBanManager = require('../managers/GuildBanManager');
|
||||
const GuildChannelManager = require('../managers/GuildChannelManager');
|
||||
const GuildEmojiManager = require('../managers/GuildEmojiManager');
|
||||
@@ -58,12 +57,6 @@ class Guild extends AnonymousGuild {
|
||||
constructor(client, data) {
|
||||
super(client, data, false);
|
||||
|
||||
/**
|
||||
* A manager of the application commands belonging to this guild
|
||||
* @type {GuildApplicationCommandManager}
|
||||
*/
|
||||
this.commands = new GuildApplicationCommandManager(this);
|
||||
|
||||
/**
|
||||
* A manager of the members belonging to this guild
|
||||
* @type {GuildMemberManager}
|
||||
|
@@ -90,7 +90,7 @@ class Presence extends Base {
|
||||
|
||||
if ('activities' in data) {
|
||||
/**
|
||||
* The activities of this presence
|
||||
* The activities of this presence (Always `Activity[]` if not ClientUser)
|
||||
* @type {Activity[]|CustomStatus[]|RichPresence[]|SpotifyRPC[]}
|
||||
*/
|
||||
this.activities = data.activities.map(activity => {
|
||||
|
Reference in New Issue
Block a user