Transition over to use db instead of fetching discord REST

This commit is contained in:
Jeremy Zhang
2017-05-06 18:19:20 -07:00
parent 9c24093901
commit fc169c2063
4 changed files with 47 additions and 24 deletions

View File

@ -145,6 +145,7 @@ class DatabaseInterface(object):
"color": role.color.value,
"hoist": role.hoist,
"position": role.position,
"permissions": role.permissions.value
})
return roles