Soheab_
98a0fe2354
Define items once
3 weeks ago
Soheab_
4f67cabc70
Remove unused exception from doc
3 weeks ago
Soheab_
7b040037b5
Add oldest_first param
3 weeks ago
Soheab_
31a34ad7c5
Fix limit always being set to <max limit>
3 weeks ago
Soheab_
8993d48e12
Remove extraneous conversion between timestamp and datetime for every request
3 weeks ago
Soheab_
f30d164f12
Update abc.py
3 weeks ago
Soheab_
6b5aefc31e
Remove after param but keep pagination
3 weeks ago
Soheab_
deece62c1a
black discord\abc.py discord\http.py
3 weeks ago
Soheab_
7e38a2c0b1
Update docstring
3 weeks ago
Soheab_
e59658418c
Make it paginate instead using the after param
3 weeks ago
Soheab_
1417d06702
Add missing versionadded and exception
3 weeks ago
Soheab_
a67fa1b53d
limit is actually 2-50 not 1-50
https://github.com/discord/discord-api-docs/pull/7585#discussion_r2146950055
1 month ago
Soheab_
f501ab0c5b
Cleanup
1 month ago
Soheab_
36b474c367
Fix Messageable.pins
1 month ago
Soheab_
7d7b2f5ed9
Add Message.pinned_at and fix Message.pins
1 month ago
Soheab_
612657b175
Use new pins endpoints
1 month ago
Rapptz
fbe2b358fc
Add note about NotFound for Messageable.send
Fix #10116
5 months ago
Rapptz
8953938a53
Update Pyright to v1.1.394
5 months ago
Rapptz
a0b0a97e52
Support enforce_nonce and add random nonce for message creation
9 months ago
Steve C
c8ecbd8d10
Add Message.forward flag
9 months ago
Soheab
354ae4208c
Fix abc.GuildChannel.clone implementations
9 months ago
Andrin
a5f9350ff2
Add category parameter to abc.GuildChannel.clone
9 months ago
Rapptz
04b2e494f7
Fix documentation for abc.GuildChannel.move to be more clear
12 months ago
Michael H
9eac36501a
Allow deletion race conditions to work with purge
1 year ago
Kile
bb1d09a13f
Account for user installations in Channel.permissions_for
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
1 year ago
DA344
e43bd8692c
Add support for Polls
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Trevor Flahardy <75498301+trevorflahardy@users.noreply.github.com>
1 year ago
Andrin
e25b7ff3f8
Support for avatar decorations
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
1 year ago
Andrin
9ce733321b
Add support for setting voice channel status
2 years ago
Imayhaveborkedit
44284ae107
Rewrite voice connection internals
2 years ago
fretgfr
5e9f679178
Fix NameError in GuildChannel.create_invite
Move InviteTarget out of type checking
2 years ago
Josh
630b2a1e55
Update pyright version
2 years ago
Rapptz
c5da0fe7c1
Remove and address stale TODO comments
2 years ago
Rapptz
df01db3490
Initial support for pomelo migration
2 years ago
Josh
23352fba79
Fix exception raised by around strategy when the limit is set to 100/101
2 years ago
Rapptz
fd9f3e9eff
Update docs with references to text in stage
2 years ago
Rapptz
da4651c97c
Implement Messageable for StageChannel
Fix #9248
2 years ago
z03h
e6ef43139f
Don't store finished views/modals
2 years ago
Rapptz
183675be74
Add support for silent messages
2 years ago
Rapptz
887ddbb4b6
Fix implicit permission resolution for Thread
Fix #9153
3 years ago
Eta
4122bef8ee
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.
3 years ago
Sebastian Law
7b595fb052
Fix docstring for create_invite
3 years ago
Steve C
ce06beeb6c
Fix permissions-based docstrings to be more consistent
3 years ago
Ionite
6981eb69c4
Normalize type formatting in TypeError
Normalize most mixed usages of `__class__`, `__class__!r`,
`__class__.__name__!r` to the standard form of
`__class__.__name__`
3 years ago
Rapptz
ab265dcb7c
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
5fe54b3ae6
Remove __slots__ from abc protocols
Fix #8354
3 years ago
Rapptz
6381b5a8f4
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
d707019348
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
3 years ago
ow0x
52f3a3496b
Update docs for abc.Messageable.pins()
3 years ago
Rapptz
5de9287902
Change abc.PrivateChannel to be a proper subclass
This fixes isinstance(thread, discord.abc.PrivateChannel) from
returning True
3 years ago
Rapptz
96e6261d61
Change default for purge oldest_first to match history
3 years ago