4725 Commits

Author SHA1 Message Date
Server Bot
d523fc4a83
[commands] Add silent kwarg to Context.send 2023-02-09 02:51:23 -05:00
Rapptz
183675be74 Add support for silent messages 2023-02-08 15:40:33 -05:00
Rapptz
93ed1646d2 Cleanup some private utilities in app_commands.commands 2023-02-02 00:33:18 -05:00
Rapptz
f1bd618b83 Pin black to v22.6 2023-02-01 08:24:52 -05:00
Rapptz
23bcb07d2b [commands] Fix generic arg on Context.interaction 2023-02-01 07:46:31 -05:00
chrispy
774219acae
[commands] Update Range examples to match app_commands.Range 2023-01-31 09:02:36 -05:00
Rapptz
346ade168e Fix default allowed_mentions for partial webhook state 2023-01-31 08:58:56 -05:00
github-actions[bot]
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
yaakiyu
20c7e261be
[commands] Fix small "commands" typo in hybrid documentation 2023-01-25 19:41:40 -05:00
Soheab_
c46f309c13
Add support for member flags 2023-01-25 11:12:31 -05:00
Soheab_
ee07f72906
Add delete_after kwarg to InteractionMessage.edit 2023-01-25 10:13:47 -05:00
Rapptz
7e95f98521 Fix webhooks and interactions not closing files after a request 2023-01-25 04:22:24 -05:00
Rapptz
faee0b4968 [commands] Explicit set traceback for hybrid invoke
Fix #9205
2023-01-25 03:05:24 -05:00
Rapptz
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
Rapptz
02031d08fb Publicly expose ScheduledEvent.creator_id
Fix #9201
2023-01-24 09:39:22 -05:00
z03h
39f1f84718
Fix AuditLogDiff.type for integrations 2023-01-22 09:01:15 -05:00
Rapptz
3d2dedbc58 Add Message.position and Message.application_id attributes 2023-01-21 22:48:36 -05:00
Rapptz
26beabb740 Document default_auto_archive_duration accepted values 2023-01-21 00:12:21 -05:00
Rapptz
bee7f903e3 Document Interaction.message availability 2023-01-21 00:07:50 -05:00
Rapptz
aa981ade1d Add missing AuditLogEntry.guild documentation 2023-01-21 00:04:08 -05:00
Rapptz
bbba8c650f Add missing generic parameters on various Interaction parameters 2023-01-19 07:00:16 -05:00
Alex Nørgaard
c677ad0312
Add missing generic to interaction in item callback 2023-01-19 04:38:39 -05:00
Trevor
2e737e70de
Correct app command decorators that use Interaction 2023-01-18 21:10:08 -05:00
Rapptz
a8177dd5bd Document starter message requirements in ForumChannel.create_thread 2023-01-18 07:11:49 -05:00
Rapptz
3c91d2163e Fix overload for on_raw_typing in wait_for 2023-01-17 00:48:29 -05:00
Rapptz
980fe7b0f9 Simplify RoleTag implementation for always-null attributes 2023-01-16 22:07:23 -05:00
Rapptz
68c929cddf Use Mapping instead of Dict for AuditLogEntry inner cache data 2023-01-16 22:03:31 -05:00
Rapptz
3ff88db768 Update pyright to 1.1.289 2023-01-16 21:57:54 -05:00
Rapptz
bf860b0b07 Add support for generic ClientT in Interaction 2023-01-16 21:57:54 -05:00
Rapptz
469f006d8b Formally document utils.maybe_coroutine 2023-01-16 21:00:58 -05:00
Rapptz
ed40d55f99 Fix overloads for select decorator 2023-01-16 20:54:29 -05:00
Rapptz
ef7d740524 Add overload for audit_log_entry_create 2023-01-16 20:38:53 -05:00
James Hilton-Balfe
375a001da8
Add overloads for all the events in the event reference
Co-authored-by: Sebastian Law <sebnlaw@gmail.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
2023-01-16 20:36:00 -05:00
sgtlaggy
5124b73d14 Add extra error handling to converters example 2023-01-14 18:56:38 -05:00
sgtlaggy
dd2125e6b6 Make error handler in modal example more helpful 2023-01-14 18:56:38 -05:00
sgtlaggy
de2349e707 Add missing cancel() in tasks example 2023-01-14 18:56:38 -05:00
sgtlaggy
5d39f96c85 Update tasks example to start in setup_hook 2023-01-14 18:56:38 -05:00
Leonardo
f4c0a051ab
[commands] Hint hybrid commands in GroupCog's description 2023-01-14 18:55:32 -05:00
AF-Sources
40db618d1e
Update documentation of User.avatar to be more clear 2023-01-14 08:02:44 -05:00
z03h
0cd24b73f7
Fix trigger missing regex_filter and allow_list in audit log 2023-01-14 07:59:42 -05:00
Willy
82b12ba481
Remove redundant int cast 2023-01-12 23:39:07 -05:00
Steve C
f950019c75
Fix 2 incorrect types for audit log converters 2023-01-12 23:38:52 -05:00
Rapptz
bba2c94990 Update FAQ entry on audit log entry event 2023-01-12 20:42:09 -05:00
Zephyrkul
509a5d771f
Fall back to Object for AuditLogEntry.target
Co-authored-by: zephyrkul <zephyrkul@users.noreply.github.com>
2023-01-12 20:27:28 -05:00
Rapptz
d11c42c2e6 Update type hints in AuditLogEntry.user and AuditLogEntry.user_id 2023-01-12 18:21:01 -05:00
Rapptz
2869d8000d Add support for on_audit_log_entry_create event 2023-01-12 18:16:36 -05:00
Rapptz
24495e5505 Add support for GIF sticker type 2023-01-10 18:18:43 -05:00
Rapptz
48ef01204c Add support for 'linked role' role tag 2023-01-10 18:13:01 -05:00
Rapptz
8e52db1f1b Add new message types to MessageType enum 2023-01-10 18:10:30 -05:00
Rapptz
3d24f0fb12 Add support for role subscription reading 2023-01-10 18:05:00 -05:00