Andrin
e51efa8039
Add support for setting voice channel status
1 year ago
Imayhaveborkedit
2856853c16
Rewrite voice connection internals
2 years ago
dolfies
51d43a158f
Rework member chunking and events ( #662 )
1 year ago
dolfies
4fe997dcf7
Remove left-over commands v2 code
1 year ago
dolfies
8d77474269
Implement commands v3
1 year ago
dolfies
26162e1c97
Parse new avatar decoration format
1 year ago
dolfies
2dbb3693dc
Refactor sorting to use attrgetter
1 year ago
dolfies
bb15f1c6c3
Include network type analytics on message send
1 year ago
syntax
40b513b041
Fix InviteTarget import ( #579 )
2 years ago
dolfies
4f2a6df9e2
Prevent duplicate integration application creation in application command handling
2 years ago
dolfies
fd240be395
Add missing types
2 years ago
dolfies
44ec9f40c7
Update invite parameters and add stage interoperability
2 years ago
dolfies
40567879dc
Simplify message search channel resolution logic
2 years ago
dolfies
963dd8aad5
Fix message search in guild channels and index not available retry
2 years ago
dolfies
23b8a3d49e
Fix docs linking and new pyright version type errors
2 years ago
Josh
2a880be6b8
Update pyright version
2 years ago
Rapptz
e6e380f904
Initial support for pomelo migration
2 years ago
Josh
2f98cf4a99
Fix exception raised by around strategy when the limit is set to 100/101
2 years ago
dolfies
4039345c15
Implement new read state capabilities
2 years ago
dolfies
5efdd767f6
Make Application enums consistent (AppCommandType -> ApplicationCommandType)
2 years ago
dolfies
af3ccba45e
Add versionadded directive to abc.Messageable.upload_files
2 years ago
dolfies
aa2529c027
Implement GCP cloud uploads
2 years ago
dolfies
5b6e6d13b7
Implement read states ( #498 )
* Base read states
* Base read states
* Models and helpers
* Increase mention counter
* Rest of the ack events
* Finishing touches and doccs
* Fix RawUserFeatureAckEvent docstring
* Add top-level mention count property
* Add ack shortfall note
* Expose and document ReadStateType
* Add Client.read_states getter
* Update scheduled event read state badge count
* Update README
2 years ago
dolfies
916d17c73a
Fix non-required parameter having no default in create_invite()
2 years ago
dolfies
3108aabcce
Implement message search
2 years ago
dolfies
77b7c5a2a5
Add avatar_decoration to more places
2 years ago
dolfies
9a5ff2bf0b
Update various List[] to Collection[]
2 years ago
dolfies
9b903c14dc
Implement message greeting
2 years ago
dolfies
5266b90383
Fix type issues
2 years ago
dolfies
29a9f5d018
Fix type issues
2 years ago
dolfies
8a1a3ffcce
Fix issues with previous upstream commits
2 years ago
Rapptz
58967ea50b
Update docs with references to text in stage
2 years ago
Rapptz
d746cc824c
Implement Messageable for StageChannel
Fix #9248
2 years ago
Rapptz
6ec3ecd493
Add support for silent messages
2 years ago
Rapptz
e6f549008f
Fix implicit permission resolution for Thread
Fix #9153
2 years ago
Eta
ab9356be83
Fix async iterators requesting past their bounds
This affects Messageable.history, ScheduledEvent.users,
Client.fetch_guilds, and Guild.audit_logs.
To illustrate the problem, Messageable.history counted returned
messages to tell when to stop iteration, but did so before filtering
away those past the before or after boundaries. When both
oldest_first=False and an after boundary were provided, this led to the
history iterator continuing to retrieve messages older than the after
boundary, which would then all be filtered away, continuing until the
message limit or the beginning of the entire channel was reached.
A similar situation would also occur with oldest_first=True and a
before boundary provided.
This commit changes the logic in these methods to count items after
filtering, so they stop requesting more as soon as the in-bounds items
are exhausted.
2 years ago
Sebastian Law
f380830143
Fix docstring for create_invite
3 years ago
Steve C
14875c45e3
Fix permissions-based docstrings to be more consistent
3 years ago
Rapptz
ba901066ff
Add support for newest ForumChannel changes
This adds the following:
- Forum tag support
- Default reaction support
- Default slowmode for newly created threads
3 years ago
Rapptz
da30ba1fbb
Remove __slots__ from abc protocols
Fix #8354
3 years ago
Rapptz
fec36318f7
Change abc.GuildChannel.overwrites to have Object keys if cache failed
Ultimately despite it not being the prettiest, Object keys ended up
being the sanest solution to this without destroying ergonomics.
3 years ago
Bryan Forbes
b9795979ac
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
3 years ago
ow0x
8f7d13d7f0
Update docs for abc.Messageable.pins()
3 years ago
Rapptz
7c71feac23
Change abc.PrivateChannel to be a proper subclass
This fixes isinstance(thread, discord.abc.PrivateChannel) from
returning True
3 years ago
Rapptz
14240540bb
Change default for purge oldest_first to match history
3 years ago
Rapptz
aaaba21f09
Fix versionadded docstrings in voice connect methods
3 years ago
Rapptz
cc7bdc2b98
Fix bug in permission resolution when dealing with timed out members
This would lead to timed out members having the read_messages
permission set to True instead of False
3 years ago
Rapptz
83de745dae
Fix Connectable.connect typing having bad inference if cls is missing
3 years ago
NextChai
07dcb7afba
Replace trigger_typing with awaiting typing context manager
3 years ago
Rapptz
a88bf31af2
Sync abc.User protocol with more shared methods
This isn't *all* of them but it's a sizeable portion
3 years ago