436 Commits

Author SHA1 Message Date
Tyler
c7a1f5e6e9 Disambiguate and normalize documentation for non-bot only methods 2019-08-11 18:50:31 -04:00
Dante Dam
da41cceb41 [commands] Fix confusion between it's and its 2019-07-22 20:46:40 -04:00
Imayhaveborkedit
fedf26bf3e Add FFmpegOpusAudio and other voice improvements
Rework FFmpeg player and add FFmpegOpusAudio

I have extracted some of the base FFmpeg source code into its own
base class and reimplemented the PCM and the new Opus variants.

Support avconv probing

Also fix a few things

Update `__all__`

Fix the bugs

Rework probe functions and add factory function

Probing involves subprocess so it has been reworked into an async
factory function.

Add docs + a few tweaks

* Removed unnecessary read() and is_opus() functions from FFmpegAudio
* Clear self._stdout in cleanup()
* Add 20 second process communication timeout to probe functions
* Capped probe function bitrate values at 512

Change AudioPlayer to use more accurate, monotonic time.perf_counter()

Add lazy opus loading

The library now no longer loads libopus on import, only on
opus.Encoder creation or manually.

Fix review nits
2019-07-22 20:46:40 -04:00
Dante Dam
956f4c7151 [commands] Fix CategoryChannel not appearing in converter table 2019-07-18 18:06:27 -04:00
Rapptz
4c917d10de Use the standard way of detecting RTD 2019-07-01 00:37:35 -04:00
Rapptz
ac00fcad77 Flatten genindex to not group names.
Also better width in the tables.
2019-06-30 18:59:19 -04:00
Rapptz
b31028fa19 Fix some linking issues with TeamMembershipState 2019-06-30 02:38:56 -04:00
Rapptz
604e9dfc67 Remove constructibility from certain classes in documentation. 2019-06-30 02:37:59 -04:00
Rapptz
68342db04d [commands] Properly raise the correct exception for owner_ids
Also some minor nits with documentation.
2019-06-29 19:26:45 -04:00
fourjr
3961e7ef6d Support team members data in application info 2019-06-29 19:14:24 -04:00
Rapptz
d747f2c88b Use a new scorer to improve search results.
This makes the other pages take less priority than the API results.
It's kind of biased, but hopefully it helps out.
2019-06-29 02:36:26 -04:00
Rapptz
c26797d808 Proper RTD detection. 2019-06-29 02:34:11 -04:00
Rapptz
1652539d40 Disable RTD search.
It's completely broken anyway.
2019-06-29 01:31:00 -04:00
Rapptz
ab00bc0686 Strip discord.ext in genindex page and unbreak PEP links. 2019-06-28 21:29:43 -04:00
Rapptz
acda808803 Make the generated index page more useful for Ctrl + F. 2019-06-28 21:04:43 -04:00
Rapptz
7523f86006 Translation sync with Crowdin 2019-06-28 08:59:21 -04:00
Rapptz
a129b4bb7e Make more use of screen space in the documentation.
Basically move from a 940px system to 1200px grid system.
Hopefully future DOM modifications will make this better.
2019-06-28 02:11:22 -04:00
Rapptz
7543328fe7 Update Sphinx to 2.1.2 2019-06-28 01:43:04 -04:00
Rapptz
0cf38241d0 Version bump to 1.2.3 2019-06-25 21:50:28 -04:00
Rapptz
a136def52f Translation sync from crowdin 2019-06-22 10:23:38 -04:00
Rapptz
e00635fba7 Version bump to 1.2.2 2019-06-09 21:51:43 -04:00
Toby Harradine
e3e2e38511
Update docs to note Enum derivation change 2019-06-10 00:53:10 +10:00
Rapptz
3730e66d37 Crowdin translation sync 2019-06-09 08:20:43 -04:00
Rapptz
7980213745 Version bump to 1.2.1 2019-06-09 02:18:43 -04:00
Rapptz
af4e3ad79b Some documentation touch-ups and missing stuff in the changelog. 2019-06-09 01:24:41 -04:00
Rapptz
a8f0a03247 Version bump to 1.2.0 2019-06-09 00:39:38 -04:00
Rapptz
8bf0482af5 Fix exception hierarchy documentation. 2019-06-08 21:23:42 -04:00
NCPlayz
3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
Rapptz
320dbc0618 Add support for system channel flags 2019-06-06 22:30:02 -04:00
Rapptz
5dce3410e6 Add support for new message types related to premium guilds. 2019-06-04 18:30:47 -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
apple502j
007b7ebf3a
Update on_group_join docs 2019-05-18 12:58:12 +09:00
apple502j
357abf2e55 Add India region to VoiceRegion 2019-05-13 20:26:10 -04:00
Rapptz
26a6970882 Version bump to v1.1.1 2019-05-11 15:42:13 -04:00
Rapptz
f8cc64ca7e Add changelog for v1.1.0 2019-05-10 20:19:51 -04:00
Rapptz
d51f4c2b81 Minor nits in Discord Converters section of the docs. 2019-05-09 07:40:08 -04:00
NCPlayz
25d9337481 Document remaining public enums.
- UserContentFilter
- FriendFlags
- PremiumType
- Theme

UserFlags is not documented as though it is only used internally.
2019-05-09 06:11:19 -04:00
Vexs
82a39eb148 Add cached_message to on_raw_message_edit event
Also add documentation for this behavior
2019-05-09 05:53:56 -04:00
Rapptz
41dee3f401 Translation sync with Crowdin 2019-05-04 02:55:53 -04:00
Rapptz
446b79241c Actually use multiple checks in the examples for checks. 2019-05-01 23:57:50 -04:00
Rapptz
91e00d8426 [tasks] Add way to query cancellation state for Loop.after_loop
Fixes #2121
2019-04-30 01:45:15 -04:00
Rapptz
55e3e242ff [tasks] Remove support for awaitables due to gotchas.
Fixes #2079
2019-04-29 23:34:20 -04:00
Tarek1337
7675dd03ca Added missing get_role method to the faq. 2019-04-29 23:34:16 -04:00
Rapptz
439dd24056 voice room → voice channel in event documentation 2019-04-25 23:24:13 -04:00
Vexs
bb3ebc0ebc [commands] Add custom exception classes for built-in checks
Added:
* MissingRole
* BotMissingRole
* MissingAnyRole
* BotMissingAnyRole
2019-04-20 16:45:37 -04:00
Rapptz
c3bad4eeab Make context documentation in migration a bit more clear. 2019-04-18 19:49:57 -04:00
Vexs
f38b199d6a Add support for <:name:id> format for adding reactions
Adjust FAQ to match.
2019-04-17 22:42:00 -04:00
khazhyk
b1fae0861a add read-only cached_messages property to Client
For those of us who want access to this sweet trove of zero hop messages
2019-04-17 22:41:59 -04:00
Rapptz
296d4bf580 [commands] Add new MessageConverter to commands prose page. 2019-04-17 22:41:58 -04:00
retke
440db2a568 [commands] Add MessageConverter to fetch messages by URL or ID. 2019-04-17 20:47:21 -04:00