Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
e473f3c775
Convert id parameter of Object into int or raise TypeError on failure
This prevents breakage for users who pass in a str as an ID whereas
it previously worked.
Fix #4002
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
Joshua B
017d428db5
Fix discord.Object type hinting docs
discord.Object requires ID as an int not str
6 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
Rapptz
2cd6d771ec
Make __repr__ slightly more detailed and add a few missing ones.
This includes raw events (which didn't have any) and a few other
types that were missing them. Upon review some more useful fields were
added to the repr output which would be more useful during debugging.
6 years ago
NCPlayz
fb02191b80
Organise documentation
6 years ago
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
6 years ago
Hornwitser
c8b49d37be
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
7 years ago
Tobotimus
3112e1c17e
Add intersphinx
7 years ago
Rapptz
f554861e68
Make discord.Object hashable.
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Rapptz
98b981848d
Move message creation to a factory method inside ConnectionState.
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
1a0182e6eb
Fix import for Object.created_at
9 years ago
Rapptz
bbc78b29ae
Fix discord.Object documentation.
9 years ago
Rapptz
2ef38107d8
Add missing created_at properties for other objects.
Such as Channel, PrivateChannel, Object and Role.
9 years ago
Rapptz
db4cc791dd
Update license of files to 2016.
9 years ago
Rapptz
97874293e2
Revert "Use super() in classes that could be subclassed."
This reverts commit 948f565b43
.
9 years ago
Rapptz
948f565b43
Use super() in classes that could be subclassed.
9 years ago
Rapptz
9f92536441
Clean-up documentation to use NumPy style docs on remaining classes.
9 years ago
Rapptz
17171aaa60
Switch to NumPy style documentation.
9 years ago
Rapptz
9f12067b3d
Add discord.Object class for generic pass-by-ID.
10 years ago
Rapptz
29b71a7e88
Move websocket hub to the new gateway.
10 years ago
Rapptz
3e0f09d32c
Initial commit
10 years ago