Commit Graph
738 Commits
Author SHA1 Message Date
Rapptz f8f8f418f3 Split Game object to separate Activity subtypes for Rich Presences.
This is a massive breaking change.

* All references to "game" have been renamed to "activity"
* Activity objects contain a majority of the rich presence information
* Game and Streaming are subtypes for memory optimisation purposes for
  the more common cases.
* Introduce a more specialised read-only type, Spotify, for the
  official Spotify integration to make it easier to use.
2018-03-05 11:15:49 -05:00
Rapptz 4fef6fc4b0 Fix minor typo in migrating documentation. 2018-01-22 17:34:46 -05:00
FrostLuma c32b28f46d Add documentation for new_member system messages 2018-01-22 17:46:28 +01:00
GorialisandRapptz 04d9dd9c0d Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter 2018-01-06 17:32:25 -05:00
TobotimusandRapptz 3112e1c17e Add intersphinx 2018-01-06 17:23:59 -05:00
Rapptz 6813280938 websupport is not actually a Sphinx extension apparently. 2017-12-29 06:34:06 -05:00
Rapptz e9f887aab2 Add websupport extension to extension list. 2017-12-29 06:29:59 -05:00
Mippy (William)andRapptz 98c8928934 Missing Voice Regions 2017-11-12 16:58:31 -05:00
Rapptz 54f2c71e71 Fix margins on <p> tags. 2017-09-22 03:11:37 -04:00
Rapptz dbf8b5bda6 Fix header size warnings. 2017-09-21 21:16:00 -04:00
Rapptz e3d69ce83d Add custom details directive. 2017-09-21 21:15:37 -04:00
Rapptz 8ed5fe472c More CSS fixes. 2017-09-21 19:38:33 -04:00
Rapptz 2bfd15ba89 Fix weird margins with unordered lists in the HTML5 output. 2017-09-21 18:37:22 -04:00
Rapptz de6cffa347 Try to build HTML5 for docs. 2017-09-21 18:04:46 -04:00
Rapptz e614f6b4cd [commands] Add CategoryChannelConverter 2017-09-13 17:19:30 -04:00
Rapptz 53b4890435 Add category support.
This adds:

* CategoryChannel, which represents a category
* Guild.by_category() which traverses the channels grouping by category
* Guild.categories to get a list of categories
* abc.GuildChannel.category to get the category a channel belongs to
* sync_permissions keyword argument to abc.GuildChannel.edit to sync
  permissions with a pre-existing or new category
* category keyword argument to abc.GuildChannel.edit to move a channel
  to a category
2017-09-13 09:44:36 -04:00
NickandRapptz 4db76c6c6b Switched places of user and reaction in wait_for example 2017-08-31 18:07:12 -04:00
ReinaSakurabaandRapptz 12a371bfb8 [commands] Add MissingPermissions and BotMissingPermissions 2017-08-30 23:21:04 -04:00
Steve CandRapptz 4d421377e4 Fix on_guild_join param doc 2017-08-27 16:08:06 -04:00
Rapptz 94e2c0e661 Add upload from URL to the FAQ. 2017-08-25 09:07:30 -04:00
Rapptz 37b0fdb898 Add webhook support.
Allows for usage of either `requests` and `aiohttp` when used in
"Standalone" mode.

Fixes #704
2017-08-21 01:57:07 -04:00
Rapptz 13c6a0a17a Add support for Guild.system_channel 2017-08-17 18:14:52 -04:00
GorialisandRapptz 80586cb081 Minor fixes in migrating doc 2017-08-16 07:09:06 -04:00
Rapptz 434d6dc347 Fix extraneous parentheses in Client.emojis render in migrating docs. 2017-08-12 18:41:21 -04:00
SinisterRectusandRapptz 8acf3d01ce Remove GuildChannel.is_default 2017-08-08 17:31:09 -04:00
GorialisandRapptz 1582116b72 Add documentation examples for AsyncIterator and change_presence. 2017-08-08 17:31:08 -04:00
Gorialis 20fae90a08 Add operation documentation for VerificationLevel, ContentFilter 2017-08-02 01:38:15 +09:00
Rapptz e493f1f2f4 Remove Guild.create_invite too since it relies on a default channel. 2017-07-31 21:39:48 -04:00
Rapptz 3dc1195637 Remove Guild.default_channel
The concept no longer exists.
2017-07-31 21:32:12 -04:00
Rapptz 9cfa39a1c7 Fix AsyncIterator documentation to properly show coroutines. 2017-07-29 15:26:02 -04:00
Rapptz 8f0dcaa666 Variadic arguments are a tuple not a list. 2017-07-10 20:33:53 -04:00
Rapptz 2f97678a79 First pass at commands narrative documentation. 2017-07-08 00:28:23 -04:00
Rapptz bd67cb5137 Hide constructor for objects that shouldn't be created by users. 2017-07-05 17:30:36 -04:00
Rapptz e0f02f1775 Rename AsyncIterator.get to next to prevent shadowing. 2017-07-04 10:45:38 -04:00
Rapptz c98443e9aa Fix wrong order in migrating docs. 2017-07-02 17:49:56 -04:00
Rapptz 867d918e30 Add when_mentioned and when_mentioned_or to the documentation. 2017-07-01 16:18:07 -04:00
Rapptz 25a1d8c300 Add support for user flags in Profile. 2017-06-30 18:49:49 -04:00
Rapptz 51429f98e8 Fix typo in migrating page. 2017-06-29 20:25:40 -04:00
Rapptz c23ef9e8a4 [commands] Add __global_check_once to list of cog functions. 2017-06-20 23:55:17 -04:00
Rapptz 717f11d635 [commands] Add Bot.check_once for a global check that is called once.
There is a counterpart for this in cogs, called __global_check_once.
This allows for predicates that would filter a command globally that
do not necessarily require rechecking in the case of e.g. the help
command such as blocking users or blocking channels.
2017-06-20 23:41:13 -04:00
Rapptz efe8fbf6ed Fix format string in documentation. 2017-06-12 17:39:12 -04:00
Rapptz d239cc2666 Implement "partial" message events.
These are events that get triggered regardless of the state of the
message cache. Useful for getting data from before the bot was booted.
2017-06-09 18:36:59 -04:00
Rapptz 0f7c1e09b0 Fix mixed order in migrating docs. 2017-06-05 23:15:29 -04:00
Rapptz 6135d4cd45 Fix typing/history showing up twice in the documentation. 2017-06-03 02:46:20 -04:00
Rapptz bef636e1e3 Fix mistake in migrating docs. 2017-06-02 16:51:58 -04:00
Rapptz a18267ca49 Fix FAQ to showcase that there is a single parameter, the error. 2017-06-02 06:25:39 -04:00
Rapptz d85e479be6 Minor fix in migrating page. 2017-05-31 15:28:54 -04:00
Rapptz fb7689f8ea Add some margin for supported operations sections. 2017-05-31 14:50:31 -04:00
Rapptz 95451c35e7 Document Message.embeds and Message.attachments changes. 2017-05-31 01:57:18 -04:00
Rapptz 8d3279b291 Implement an Attachment model. 2017-05-30 22:27:45 -04:00