Commit Graph
31 Commits
Author SHA1 Message Date
Sebastian Law 4134a17a29 [commands] Raise error when a cog name is already registered 2021-04-08 22:04:10 -04:00
Sebastian Law 05c123f3ab Use f-strings in more places that were missed 2021-04-08 09:31:06 -04:00
Sebastian Law 4c72137e43 [docs] add note for possible Embed.type strings 2021-04-07 07:17:57 -04:00
Sebastian Law ece7064e64 [docs] add label to basic converters section 2021-04-07 07:12:52 -04:00
Sebastian Law 5ed47cacc7 Update background_task example to use ext.tasks 2021-03-30 20:24:28 -04:00
Sebastian Law d6501159e7 [docs] copy signature from overridden and inherited methods 2021-03-29 23:52:14 -04:00
Sebastian Law a131e11c5e [commands] fix documented type for Command.checks 2021-03-24 08:24:14 -04:00
Sebastian Law a06d00f554 Make await text appear in async Member method docs 2021-03-24 08:22:50 -04:00
Sebastian Law a30a694e36 [commands] fix Context.channel property documented type 2021-03-13 01:46:31 -05:00
Sebastian Law a2730a32dc Add guild_id attribute to RawMessageUpdateEvent 2021-02-28 23:55:37 -05:00
Sebastian Law f7a4bef4ff [tasks] remove redundant condition in Loop.next_iteration
self._task is only None if the Loop has never been started before, 
which means None should be returned always, regardless of how
many seconds was passed into the constructor

this didn't break anything before because self._next_iteration will
be None as well if self._task is None.
2021-02-28 23:54:44 -05:00
Sebastian Law 2f15e7d8e4 fix mention_author in send causing unexpected allowed mentions 2021-02-24 03:06:44 -05:00
Sebastian Law 48b748e340 [commands] properly assign ctx.invoked_with with ctx.
resolves #6461
2021-02-23 03:39:08 -05:00
Sebastian Law 1afc127458 [commands] Add Context.invoked_parents 2021-02-23 03:39:08 -05:00
Sebastian Law cc55a28be5 Fix typo in Guild.fetch_member docs 2021-02-22 08:51:34 -05:00
Sebastian Law a0c1d6f6c5 Fix backslashes showing up in the docs 2021-02-21 07:32:11 -05:00
Sebastian Law ceab8ff638 [tasks] make __call__ actually appear in the docs 2021-02-21 07:19:10 -05:00
Sebastian Law b86073fac3 Document behavior of on_disconnect 2021-02-20 20:47:29 -05:00
Sebastian Law e0e60a2f62 [commands] document PartialMessageConverter 2021-01-24 05:16:32 -05:00
Sebastian Law 16195a7d2f fix method reference in documentation 2021-01-05 23:53:17 -05:00
Sebastian Law e9e81d1a55 [commands] fully remove command when CommandRegistrationError is raised for alias 2020-12-29 08:24:54 -05:00
Sebastian Law 36292a65ea remove extraneous assignment 2020-12-22 07:18:32 -05:00
Sebastian Law 116fdbddb9 [commands] Fix exception hierarchy documentation 2020-12-22 04:23:37 -05:00
SebbyLaw 4adbe03d7c [commands] Allow setting description of cogs 2020-11-26 01:57:24 -05:00
SebbyLaw 2e2560126f Implement icon_rl_as and cover_image_url_as for AppInfo 2020-11-21 21:11:47 -05:00
Sebastian Law 2974663367 Fix typos in Intents documentation 2020-09-24 00:17:37 -04:00
Sebastian Law 37c5c583f2 Add support for message_reference on Message object 2020-09-23 02:29:03 -04:00
SebbyLaw b43658f6ff [commands] Add documentation for exceptions in Context.(re)invoke 2020-07-22 23:18:30 -04:00
SebbyLaw 9b24ff4f77 Add gray alias for discord.Colour 2020-07-22 23:18:29 -04:00
Sebastian Law 7a07644de3 [commands] Raise TypeError when Optional is used with Greedy converter 2020-06-28 03:54:34 -04:00
Sebastian Law b4b953bfc6 Fix various inconsistencies within the documentation (#5067) 2020-06-28 03:45:58 -04:00