Add Role.setMentionable

This commit is contained in:
Schuyler Cebulskie
2016-09-30 22:48:21 -04:00
parent 428ee2f718
commit c2c477834f
3 changed files with 16 additions and 1 deletions

View File

@@ -425,6 +425,7 @@ class RESTMethods {
data.color = parseInt(data.color.replace('#', ''), 16);
}
data.hoist = typeof _data.hoist !== 'undefined' ? _data.hoist : role.hoist;
data.mentionable = typeof _data.mentionable !== 'undefined' ? _data.mentionable : role.mentionable;
if (_data.permissions) {
let perms = 0;