dolfies
8eaa26d479
Various fixes (docs, events, enums, exports
3 years ago
dolfies
8fcca3183a
Rebase to latest upstream
3 years ago
dolfies
e08cdd073a
Documentation and operations fixes
3 years ago
dolfies
5ff7002424
Remove unnecessary imports
3 years ago
dolfies
50ff16ede6
Rebase to latest upstream
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
dolfies
957a484306
Run black
3 years ago
Josh
e01d4a31eb
Replace invariant container types with wider types where applicable
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
chromacoat dreamkey
095aaa9ad1
Change wording of InvalidArgument removal in docs
3 years ago
Rapptz
4b2c2b231d
Fix type checker errors in Connectable and Messageable
3 years ago
Alex Nørgaard
7ff6850f17
Fix abc.User protocol requirements
3 years ago
Sebastian Law
1dccd70b05
Fix refs to abc.Connectable.connect
3 years ago
Sebastian Law
4a5057551a
Fix typo in circular comment
3 years ago
Stocker
554d2d7c99
Add the suppress_embeds parameter to send methods
Modified the following methods:
- abc.Messageable.send
- Webhook.send
- SyncWebhook.send
- InteractionResponse.send_message
3 years ago
Josh
147948af9b
Use typing.Self throughout library
3 years ago
dolfies
ee722b4a1f
Add method to ABC and update VoiceRegion enum
3 years ago
Josh
2b69b5d545
Remove discord.InvalidArgument
This uses TypeError and ValueError instead.
3 years ago
dolfies
458650315b
Add Messageable.ack() and remove DMChannel._from_message
3 years ago
Rapptz
0ed745f5ae
Remove regular context manager support from Typing
3 years ago
Rapptz
d01e73fca5
Document more uses of type ignore
3 years ago
Rapptz
c7c6d74d8d
Fix type errors in the abc module
3 years ago
Kaylynn Morgan
588cda0996
Refactor AsyncIter to use 3.6+ asynchronous generators
3 years ago
jack1142
dc19c6c7d5
Add positional-only arguments in more places
3 years ago
jack1142
de85eacbf5
Remove incorrect note about isinstance check for abc.Connectable
3 years ago
Rapptz
9c066a8cf6
Refactor internal message sending and editing parameter passing
This reduces some repetition in many functions and is ripped out of
the webhook code. This also removes the unused HTTP functions for
interaction responses since those belong in the webhook code rather
than the HTTPClient.
3 years ago
dolfies
16ad1a176c
Remove embeds :(
3 years ago
dolfies
887e83de90
Small forgotten things
3 years ago
dolfies
6d4ef078ec
Fix small typing issue
3 years ago
dolfies
da57fd0e68
Add Object to permission overwrites, channel jump urls, command iterators
3 years ago
dolfies
1646421cc0
Implement guild notification settings
4 years ago
dolfies
7b11d8c256
Get it starting
4 years ago
dolfies
2c2564c4ee
Add missing import
4 years ago
dolfies
3429980d0c
Migrate
4 years ago
dolfies
9c5e4882ef
Initial de-botting
4 years ago
Imayhaveborkedit
f586f4dfbd
Clarify connect() requires Intents.voice_states
4 years ago
Rapptz
490bbffc93
Remove in-place edits and return fresh instances instead
Fixes #4098
4 years ago
Josh
d09993d7e7
Remove created_at from Snowflake Protocol
4 years ago
Rapptz
1279510194
Add support for PartialMessageable instances
This allows library users to send messages to channels without fetching
it first.
4 years ago
LightSage
13a47dfe6e
Fix docs for stickers
4 years ago
SYCKGit
56f800de9c
Add Thread to Messageable docstring
4 years ago
Nadir Chowdhury
60d82cf908
implement guild stickers
4 years ago
PythonCoderAS
51b02f2568
Change type to be compatible with the overwrites property
4 years ago
Josh
41e2d3c637
Allow callables in abc.Connectable.Connect
4 years ago
AkshuAgarwal
85f3e11ef1
Fix Example Usage in docs
4 years ago
z03h
dd5fc656d9
Fix permissions_for for roles
4 years ago
Lilly Rose Berner
5b8be9a772
Add PartialMessage to list of allowed message reference types
4 years ago
Nadir Chowdhury
e2624b9a31
[commands] Fix (Partial)MessageConverter to work with thread messages
4 years ago
Rapptz
99b8ae35ba
Change _Overwrite to get dict entries rather than mutate
4 years ago
Rapptz
a2b10a08b9
Fix KeyError due to refactoring mistake in Overwrite handling
4 years ago