WS Realtime for message actions and Sidebar members list presence update

This commit is contained in:
Jeremy Zhang
2017-08-22 06:57:30 +00:00
parent 4ed2d14bc3
commit 0539efb204
6 changed files with 235 additions and 41 deletions

View File

@ -89,4 +89,10 @@ def get_channels_list(guildchannels):
"type": str(channel.type),
"permission_overwrites": overwrites
})
return channels
return channels
def list_role_ids(usr_roles):
ids = []
for role in usr_roles:
ids.append(role.id)
return ids