mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
chore: deprecate userbot methods
This commit is contained in:
@@ -1333,4 +1333,16 @@ Object.defineProperty(Guild.prototype, 'defaultChannel', {
|
||||
}, 'Guild#defaultChannel: This property is obsolete, will be removed in v12.0.0, and may not function as expected.'),
|
||||
});
|
||||
|
||||
Guild.prototype.acknowledge =
|
||||
util.deprecate(Guild.prototype.acknowledge, 'Guild#acknowledge: userbot methods will be removed');
|
||||
|
||||
Guild.prototype.setPosition =
|
||||
util.deprecate(Guild.prototype.setPosition, 'Guild#setPosition: userbot methods will be removed');
|
||||
|
||||
Guild.prototype.search =
|
||||
util.deprecate(Guild.prototype.search, 'Guild#search: userbot methods will be removed');
|
||||
|
||||
Guild.prototype.sync =
|
||||
util.deprecate(Guild.prototype.sync, 'Guild#sync:, userbot methods will be removed');
|
||||
|
||||
module.exports = Guild;
|
||||
|
||||
Reference in New Issue
Block a user