24 Commits

Author SHA1 Message Date
Rapptz
e4b16851bf Slots use tuples instead now. 2017-01-03 09:51:50 -05:00
Rapptz
45c729b167 Switch IDs to use int instead of str 2017-01-03 09:51:49 -05:00
Rapptz
044b0824e6 Begin working on the rewrite. 2017-01-03 09:51:47 -05:00
Rapptz
4d59bca4aa Support animated avatars in User.avatar_url. 2016-12-23 00:43:19 -05:00
Rapptz
e2bfa90eef Add User.mentioned_in helper to check if a message mentions you. 2016-04-29 20:11:13 -04:00
Khazhismel Kumykov
29b01f20ba Fix Member.display_name returning None
If Member.nick was None, getattr would happily return None, not the
default value.
2016-04-29 15:13:15 -04:00
Rapptz
e112536ce2 Simplify User.display_name a bit. 2016-04-29 08:27:19 -04:00
Rapptz
133e8d3a44 Add support for server specific nicknames. 2016-04-29 06:39:21 -04:00
Rapptz
fa14c72836 Add User.bot attribute to check if a user is a bot account. 2016-04-09 21:42:25 -04:00
Rapptz
f93fa8a0b2 User.__str__ now includes the discriminator. 2016-04-01 05:48:31 -04:00
Khazhismel Kumykov
5f776f369d Add default avatar property to User. 2016-03-31 14:38:03 -04:00
Rapptz
f437ffe44e Add created_at properties for Server and User. 2016-03-06 03:47:25 -05:00
Rapptz
86e9b62303 Move Member.permissions_in to User.permissions_in. 2016-01-21 23:00:51 -05:00
Rapptz
db4cc791dd Update license of files to 2016. 2016-01-04 22:28:29 -05:00
Rapptz
97874293e2 Revert "Use super() in classes that could be subclassed."
This reverts commit 948f565b430d80f782d0b7c264cc0b27aa1ec0b2.
2016-01-04 20:26:59 -05:00
Rapptz
948f565b43 Use super() in classes that could be subclassed. 2016-01-04 18:25:20 -05:00
Rapptz
f1f0e169e4 Add __slots__ where appropriate to data classes. 2015-12-19 06:18:12 -05:00
Rapptz
51d91c2a82 Most data classes now support hashing. 2015-12-17 00:32:54 -05:00
Rapptz
9f92536441 Clean-up documentation to use NumPy style docs on remaining classes. 2015-12-16 22:20:54 -05:00
Rapptz
9137d92f67 All data classes now support !=, == and str(obj). 2015-12-13 22:53:48 -05:00
Rapptz
ab46afee1d Changed functions that return a constant value into properties. 2015-12-13 20:05:58 -05:00
Rapptz
17171aaa60 Switch to NumPy style documentation. 2015-12-04 23:43:31 -05:00
Rapptz
7c060ee7f6 Document supported operations in discord.User 2015-11-27 17:59:22 -05:00
Rapptz
3e0f09d32c Initial commit 2015-08-21 18:18:34 -04:00