mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Add mentionable to role objects (#358)
This commit is contained in:
committed by
abalabahaha
parent
48595ddd19
commit
d2f0f4993e
@@ -935,7 +935,8 @@ export default class InternalClient {
|
||||
hoist: data.hoist || role.hoist,
|
||||
name: data.name || role.name,
|
||||
position: data.position || role.position,
|
||||
permissions: role.permissions || 0
|
||||
permissions: role.permissions || 0,
|
||||
mentionable: 'mentionable' in data ? data.mentionable : role.mentionable
|
||||
};
|
||||
|
||||
if (data.permissions) {
|
||||
|
||||
Reference in New Issue
Block a user