105 Commits

Author SHA1 Message Date
Rapptz
79bdf2a721 Add enumerators instead of strings.
Changes channel type, status and server region into 3.4 enums.
2015-12-04 22:13:17 -05:00
Rapptz
df3cb831a9 Member.roles array now has the default role as the first element. 2015-11-28 19:26:25 -05:00
Rapptz
5ca04ea08f Use try-except instead of checking for membership.
Basically, a lot of the checks revolving "if x in y" could be written
more efficiently by doing the task anyway and ignoring the exception
a la the EAFP guideline.
2015-11-20 17:39:51 -05:00
Azza
0b4706699f fixed voice_members not updating when changing channels 2015-11-19 23:15:27 -05:00
Rapptz
a0073c734e Split data classes into more files. 2015-10-27 16:23:20 -04:00