Commit Graph

4745 Commits

Author SHA1 Message Date
d26dbf3a7a Fix a few typos in the docs
Co-authored-by: o-wo <24418520+o-wo@users.noreply.github.com>
2023-02-23 00:47:08 -05:00
e161f6ef3e Update colour constants 2023-02-23 00:45:51 -05:00
b19897fce1 Fix AuditLogDiff.type for webhooks 2023-02-21 17:31:01 -05:00
2cde1133f9 Update create_stage_channel to support more parameters 2023-02-18 22:34:03 -05:00
4e09c34bbb Suppress exceptions from invoking autocomplete 2023-02-17 13:24:59 -05:00
0c68eb338c Add colour previews to the documentation 2023-02-16 10:45:53 -05:00
94fa00fbfd Clarify documentation on Message.publish 2023-02-13 23:54:02 -05:00
40227f75de Fix select decorator type checking error 2023-02-13 23:53:56 -05:00
e6ef43139f Don't store finished views/modals 2023-02-13 23:52:40 -05:00
caf0fbdc1b Correct permission for bypass_verification field in Member.edit 2023-02-13 06:26:32 -05:00
f7e9795495 Call super for __init_subclass__ in View
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-02-12 02:08:39 -05:00
a2b09c0ecd Remove unused import 2023-02-11 18:40:17 -05:00
ec71a46907 Fix Message.channel rebinding sometimes being Object 2023-02-11 18:25:42 -05:00
742630f144 [commands] Fix error involving hybrid groups in Cog 2023-02-10 19:33:27 -05:00
9562a9683a Add dark_embed and light_embed to Colour 2023-02-10 19:32:00 -05:00
e13c1d32b3 Add info to docs on how py -3 ignores virtualenv 2023-02-10 19:25:30 -05:00
4057afad6a Add support for passing client to Webhook.from_url and Webhook.partial 2023-02-09 23:22:45 -05:00
3af6b308ab Add changelog for v2.1.1 2023-02-09 16:20:10 -05:00
441d38f56b Add fallback for sticker filename lookup 2023-02-09 16:19:01 -05:00
1395d3b495 Fix NameError in audit log target for app commands 2023-02-09 06:14:27 -05:00
d523fc4a83 [commands] Add silent kwarg to Context.send 2023-02-09 02:51:23 -05:00
183675be74 Add support for silent messages 2023-02-08 15:40:33 -05:00
93ed1646d2 Cleanup some private utilities in app_commands.commands 2023-02-02 00:33:18 -05:00
f1bd618b83 Pin black to v22.6 2023-02-01 08:24:52 -05:00
23bcb07d2b [commands] Fix generic arg on Context.interaction 2023-02-01 07:46:31 -05:00
774219acae [commands] Update Range examples to match app_commands.Range 2023-01-31 09:02:36 -05:00
346ade168e Fix default allowed_mentions for partial webhook state 2023-01-31 08:58:56 -05:00
aa02d55e27 [Crowdin] Updated translation files
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-30 19:27:13 -05:00
20c7e261be [commands] Fix small "commands" typo in hybrid documentation 2023-01-25 19:41:40 -05:00
c46f309c13 Add support for member flags 2023-01-25 11:12:31 -05:00
ee07f72906 Add delete_after kwarg to InteractionMessage.edit 2023-01-25 10:13:47 -05:00
7e95f98521 Fix webhooks and interactions not closing files after a request 2023-01-25 04:22:24 -05:00
faee0b4968 [commands] Explicit set traceback for hybrid invoke
Fix #9205
2023-01-25 03:05:24 -05:00
6cb9a84898 Fix views not being removed from message store backing
This uses the original interaction ID if available for cache eviction
2023-01-25 02:37:30 -05:00
02031d08fb Publicly expose ScheduledEvent.creator_id
Fix #9201
2023-01-24 09:39:22 -05:00
39f1f84718 Fix AuditLogDiff.type for integrations 2023-01-22 09:01:15 -05:00
3d2dedbc58 Add Message.position and Message.application_id attributes 2023-01-21 22:48:36 -05:00
26beabb740 Document default_auto_archive_duration accepted values 2023-01-21 00:12:21 -05:00
bee7f903e3 Document Interaction.message availability 2023-01-21 00:07:50 -05:00
aa981ade1d Add missing AuditLogEntry.guild documentation 2023-01-21 00:04:08 -05:00
bbba8c650f Add missing generic parameters on various Interaction parameters 2023-01-19 07:00:16 -05:00
c677ad0312 Add missing generic to interaction in item callback 2023-01-19 04:38:39 -05:00
2e737e70de Correct app command decorators that use Interaction 2023-01-18 21:10:08 -05:00
a8177dd5bd Document starter message requirements in ForumChannel.create_thread 2023-01-18 07:11:49 -05:00
3c91d2163e Fix overload for on_raw_typing in wait_for 2023-01-17 00:48:29 -05:00
980fe7b0f9 Simplify RoleTag implementation for always-null attributes 2023-01-16 22:07:23 -05:00
68c929cddf Use Mapping instead of Dict for AuditLogEntry inner cache data 2023-01-16 22:03:31 -05:00
3ff88db768 Update pyright to 1.1.289 2023-01-16 21:57:54 -05:00
bf860b0b07 Add support for generic ClientT in Interaction 2023-01-16 21:57:54 -05:00
469f006d8b Formally document utils.maybe_coroutine 2023-01-16 21:00:58 -05:00