chore: deprecate userbot methods

This commit is contained in:
Lewdcario
2018-07-26 11:18:41 -06:00
parent d685e39af4
commit 95a2d25b7d
6 changed files with 62 additions and 3 deletions

View File

@@ -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;