Update role.ts

This commit is contained in:
Ayyan 2020-12-28 12:18:09 +04:00 committed by GitHub
parent b7a93a280f
commit e37e0c3885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export class Role extends Base {
this.managed = data.managed
this.mentionable = data.mentionable
this.tags =
data.tags !== null
data.tags !== undefined
? {
botID: data.tags?.bot_id,
integrationID: data.tags?.integration_id,