Rapptz
2b27a7a9d5
Add Member.premium_since to denote member boost date.
2019-06-04 18:30:46 -04:00
Rapptz
8e80eee0d1
Add Emoji.available field
2019-06-04 18:30:46 -04:00
Rapptz
a048815c60
Add Guild.premium_subscription_count
2019-06-04 18:30:46 -04:00
Rapptz
e40c68b75a
Add Guild.premium_tier and corresponding limits.
2019-06-04 18:30:46 -04:00
Rapptz
90ae3f396c
Probably fix indentation.
2019-05-30 19:39:50 -04:00
Rapptz
bfb1edcc05
Update readthedocs.yml to v2 configuration file.
2019-05-30 19:33:14 -04:00
Rapptz
483aa5465d
Properly handle compute_prune_count in prune members endpoint.
2019-05-30 18:01:03 -04:00
Rapptz
00a0856cc4
Use a dict instead of getattr for parsing events.
...
Probably not a significant difference but might as well use it here.
The basic idea is to cache the getattr calls instead of repeatedly
doing it (since they're around 105ns on my machine). The dictionary
lookup is about 41ns on my machine.
The next step in speeding up library code some more should be in
the parser bodies themselves but that's a problem to tackle another
day.
2019-05-29 01:22:53 -04:00
Rapptz
0622e18cb9
Speed-up utils.get for the common cases
2019-05-29 00:45:48 -04:00
Rapptz
0d72ac3bb6
Ensure message links resolve in the Messageable.pins note.
2019-05-27 04:05:51 -04:00
Rapptz
96dc6f0c11
Add note that Messageable.pins does not contain Message.reactions
...
Fix for #2189
2019-05-27 04:04:06 -04:00
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.
2019-05-26 02:32:47 -04:00
Rapptz
ab6dd2a27a
Add note for Message.tts
...
Fix #2186
2019-05-25 06:17:52 -04:00
Rapptz
3c387e9031
Use attrgetter to speed up Member attribute access by 2x.
2019-05-25 03:14:35 -04:00
Rapptz
d96b8a0b80
Add Discord error code to HTTPException message.
2019-05-24 04:23:06 -04:00
Ehren Julien-Neitzert
fc5a2936dd
Fix pluralization errors in various files
...
* Replaced instances of 'return an' with 'returns an'
* fixed pluralization errors
2019-05-23 23:31:17 -04:00
Dante Dam
84e9168447
Grammar fixes for notes on EmbedProxy
2019-05-23 23:21:40 -04:00
Kyber
f2c7b2e6d8
Add an insert_field_at method for the embed class
2019-05-23 23:21:39 -04:00
Harmon
2fd589874f
Fix wording in documentation for ClientUser.locale
2019-05-21 21:15:26 -04:00
Dante Dam
998980ed9a
Added example for template checkboxes
2019-05-21 21:15:25 -04:00
Dante Dam
92731bbf5f
[commands] Fixed extra "only" in dm_only docs
2019-05-19 20:04:42 -07:00
Rapptz
964b97aa30
Add table showing what methods get invite attributes.
2019-05-19 19:17:30 -04:00
Rapptz
82b54933e2
Add asyncio.Task subclass for better __repr__ for events.
2019-05-19 19:17:29 -04:00
Suhail
db9a293f14
[tasks] Add version added note to Loop.change_interval
2019-05-19 19:17:28 -04:00
NCPlayz
38eb2b4828
Validate kwargs in Client.start
2019-05-19 19:17:27 -04:00
apple502j
007b7ebf3a
Update on_group_join docs
2019-05-18 12:58:12 +09:00
Dante Dam
1fac7a7e71
[commands] Add missing backtick for is_nsfw docs
2019-05-17 15:25:45 -07:00
Suhail6inkling
aadb6953ff
[tasks] Add way to change interval at run-time
...
PR: #2162
Fixes : #2158
2019-05-17 18:25:21 -04:00
Vexs
bf5b267c55
Correct the documentation for methods and properties that return Assets
2019-05-14 19:13:48 -04:00
Allan Galarza
5473cec6ac
Added note to Emoji.user
2019-05-13 22:12:33 -04:00
Rapptz
6bc9d7c01a
[tasks] Add indicator for internal task failure
...
Fixes #2151
2019-05-13 22:10:38 -04:00
Rapptz
a4a362b4c7
[tasks] Log exception when something failed to logging.
2019-05-13 22:08:31 -04:00
Benjamin Mintz
a62641bd65
Add back __repr__ that were deleted in the Asset redesign
...
The Asset PR (be227ebcf0c8bad6b56798339b5414b8da414dc0) changed some namedtuple-deriving
classes to object-deriving classes, which meant that the free __repr__ provided by namedtuple
was removed
2019-05-13 20:29:08 -04:00
SnowyLuma
859ee751f9
[tasks] Return coro from before and after decorators
2019-05-13 20:29:07 -04:00
apple502j
357abf2e55
Add India region to VoiceRegion
2019-05-13 20:26:10 -04:00
Rapptz
49a7e58d17
[tasks] Keep retrying before gracefully exiting.
2019-05-12 01:31:09 -04:00
Rapptz
4eead39b3c
[tasks] Add Loop.stop to gracefully stop a task.
...
Updated docs will follow shortly.
2019-05-12 01:04:24 -04:00
Rapptz
bcdecd4e07
[tasks] Reset iteration count when loop terminates.
2019-05-12 00:49:19 -04:00
Rapptz
8c353a5596
Change version to v1.2.0a for development purposes.
2019-05-11 18:20:13 -04:00
Rapptz
f74d73327b
[commands] Explicitly assign invoked_subcommand to None before invoking
...
This should fix instances of it not working as expected in nested
groups.
2019-05-11 18:17:57 -04:00
Rapptz
26a6970882
Version bump to v1.1.1
v1.1.1
2019-05-11 15:42:13 -04:00
Rapptz
123e151978
Add back signal handling to Client.run
...
Apparently Python does not transform SIGTERM to KeyboardInterrupt as
nicely as I thought.
2019-05-11 14:40:31 -04:00
Rapptz
8206982e79
Don't overwrite data parameter in webhooks.
...
Fixes #2140
2019-05-10 20:54:51 -04:00
Rapptz
a54f656e04
Version bump to v1.1.0
v1.1.0
2019-05-10 20:20:29 -04:00
Rapptz
f8cc64ca7e
Add changelog for v1.1.0
2019-05-10 20:19:51 -04:00
Steve C
8f111c521c
Fix typo in Loop.restart documentation
2019-05-10 18:44:07 -04:00
Rapptz
47808a7e96
[tasks] Add Loop.restart
...
This implementation waits until the task is done before starting it
again.
Closes #2075
2019-05-10 18:37:37 -04:00
Rapptz
d51f4c2b81
Minor nits in Discord Converters section of the docs.
2019-05-09 07:40:08 -04:00
Benjamin Mintz
0a0c43321b
[commands] MinimalHelpCommand: add cog description
2019-05-09 06:11:21 -04:00
Dante Dam
01588fa34b
Tightended the constraints of Spotify.__eq__.
2019-05-09 06:11:20 -04:00