66 Commits

Author SHA1 Message Date
Rapptz
ab46afee1d Changed functions that return a constant value into properties. 2015-12-13 20:05:58 -05:00
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
38e83f0999 "An array" -> "A list" for documentation purposes. 2015-11-28 19:51:32 -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
054cf2e1e0 Channel.permissions_for now correctly handles everyone overwrites. 2015-11-09 00:32:38 -05:00
Rapptz
72674b4c2d Add Channel.mention to mention a channel. 2015-10-23 21:04:52 -04:00
Rapptz
b94dffaf87 Change Permissions constants to be class method factories instead. 2015-10-22 22:20:34 -04:00
Rapptz
9188184e85 Fix permission resolution in Channel.permissions_for 2015-10-22 22:20:33 -04:00
Rapptz
61f62c1468 Add Channel.permissions_for and PrivateChannel.permissions_for.
These functions handle permission resolution for a specific member.

Aids with #18.
2015-10-17 06:21:51 -04:00
Rapptz
be14fd1dcc Add Channel.voice_members
This allows you to see which members are currently in a voice
channel.
2015-10-16 15:52:11 -04:00
Rapptz
120b9cd3b2 Listen to CHANNEL_UPDATE events and add on_channel_update 2015-09-25 16:09:10 -04:00
Rapptz
773fc0ad97 Add support for channel topics. 2015-09-25 15:54:04 -04:00
Rapptz
a9a030cdb2 Move permission overwrite construction to the Channel constructor. 2015-09-25 15:53:45 -04:00
Rapptz
b00ad4ad79 Use kwargs if the number of arguments needed is too many. 2015-09-04 21:16:27 -04:00
Rapptz
0e4ccad32a Parse permission_overwrites in every Channel instance. 2015-08-26 21:20:18 -04:00
Rapptz
3e0f09d32c Initial commit 2015-08-21 18:18:34 -04:00