Parse role mentions

This commit is contained in:
Jeremy Zhang
2018-03-04 06:29:16 +00:00
parent d438b6d34f
commit 487f5756f5
5 changed files with 51 additions and 6 deletions

View File

@ -159,6 +159,11 @@ class SocketIOInterface:
rol = {
"id": role.id,
"guild_id": role.server.id,
"name": role.name,
"color": role.color.value,
"hoist": role.hoist,
"position": role.position,
"permissions": role.permissions.value,
}
return rol