Nadir Chowdhury
d01500bccd
Fix typo with guild_discovery_grace_period_final_warning
4 years ago
TheOneMusic
259c3909a8
Fix Permissions.all_channel documentation to link attributes
4 years ago
Nadir Chowdhury
31bbf7434b
Allow AuditLogEntry to be Hashable
4 years ago
Rapptz
4c4d75dc29
Disallow empty sequences in Guild.query_members user_id parameter
4 years ago
Sebastian Law
a2730a32dc
Add guild_id attribute to RawMessageUpdateEvent
4 years ago
Sebastian Law
f7a4bef4ff
[tasks] remove redundant condition in Loop.next_iteration
self._task is only None if the Loop has never been started before,
which means None should be returned always, regardless of how
many seconds was passed into the constructor
this didn't break anything before because self._next_iteration will
be None as well if self._task is None.
4 years ago
xPolar
6c40e3b837
Update docs for discord.Invite.max_uses
This mentions the unlimited uses aspect.
4 years ago
Bryan Forbes
c325918ae6
Only run main() if the module is being executed as a script
4 years ago
TheOneMusic
9c52432274
Update permission class methods to match Discord UI
4 years ago
Nadir Chowdhury
63ec23bac2
Code optimisations and refactoring via Sourcery
4 years ago
Nadir Chowdhury
e090ee4308
Fix NameError with invoked_parents
4 years ago
SuzuZusu
b903066e4d
Allow for callable class factories in abc.Connectable.connect
4 years ago
sudosnok
01d8502c83
[commands] Added tribool behaviour to HelpCommand.verify_checks
4 years ago
Sebastian Law
2f15e7d8e4
fix mention_author in send causing unexpected allowed mentions
4 years ago
Arthaxeres
53bf1919c7
Fix docstring for Guild.create_role
4 years ago
Nadir Chowdhury
fb773dc1dd
Add remaining template endpoints
4 years ago
Nadir Chowdhury
6f748e5da5
Add remaining v6 message types
4 years ago
Alex Nørgaard
7f05f7f6c0
Add converter example
4 years ago
Sebastian Law
48b748e340
[commands] properly assign ctx.invoked_with with ctx.
resolves #6461
4 years ago
Sebastian Law
1afc127458
[commands] Add Context.invoked_parents
4 years ago
Nadir Chowdhury
427e387a2f
Deprecate non-bot methods
4 years ago
Kaylynn Morgan
1cbc537734
[commands] Allow relative paths when handling extensions
4 years ago
Sebastian Law
cc55a28be5
Fix typo in Guild.fetch_member docs
4 years ago
Rapptz
abfc07f968
Fix up previous PR mistake with intentional backslashes
4 years ago
Sebastian Law
a0c1d6f6c5
Fix backslashes showing up in the docs
4 years ago
Sebastian Law
ceab8ff638
[tasks] make __call__ actually appear in the docs
4 years ago
Nadir Chowdhury
6c08f3d344
Add "Secret" channel/emoji example
4 years ago
Maya
66b834b332
Document BanEntry
4 years ago
Sebastian Law
b86073fac3
Document behavior of on_disconnect
4 years ago
sudosnok
27c7fb6aed
Add User.mutual_guilds
4 years ago
Kowlin
0203d0339b
Update issue templates for migration
4 years ago
Rapptz
a8f44174ba
Add Permissions.use_slash_commands
4 years ago
Rapptz
272339d5e6
Add support for the new permission serialization scheme.
5 years ago
Riley Shaw
fafc3d9185
Fix ZeroDivisionError in DiscordVoiceWebSocket.average_latency
4 years ago
Rapptz
88c23125ff
Allow CustomActivity emoji to be constructed as documented.
Fix #4049
4 years ago
Rapptz
0cd1a88316
Clarify Message.nonce documentation
Fix #2451
4 years ago
Bryan Forbes
16e0adb315
[commands] Handle positional-only parameters in bot commands
4 years ago
Michael H
08d45cc2ab
Update docs to be clearer about discord limitations
4 years ago
SuzuZusu
491b426205
Fix documentation with reference in GroupChannel.permissions_for
4 years ago
Rapptz
a0404807d5
[commands] Add support for rgb function in ColourConverter
This also adds support for 3 digit hex.
Fixes #6374
4 years ago
Alex Nørgaard
68eb844d48
[commands] Add discord.Guild converter and GuildNotFound error
* Add discord.Guild converter and GuildNotFound error
* note for lack of disambiguation in Guilds with duplicate names, and removed the possibility of returning None
* edited converter to use `utils.get` over `utils.find` and docs edited with Converter and Exception.
4 years ago
Peter Delevoryas
af67256949
Ensure Message.call is None by default
`Message` has an attribute `call` which is claimed to have type
`Optional[CallMessage]`.
But `Message` doesn't actually ensure that `call` is initialized to a value in
`__init__`. This commit fixes that inconsistency.
4 years ago
Rapptz
adae90400f
Some grammar nits
4 years ago
Rapptz
3030f8ce0d
Fix some validation errors with the template yaml
4 years ago
Rapptz
82edc252e0
Switch issue templates to use the new issue forms alpha
4 years ago
Rapptz
30c06bc55f
Always inject the HTML builder even in RTD builds
4 years ago
Zomatree
0d1e15bbc2
Add versionchanged to guild.create_role
4 years ago
Rapptz
61884dd9ac
Use member provided data in typing_start event if not in cache
Apparently Discord had this all along.
ref: #5965 , #5983
4 years ago
Jonas Bohmann
0d8ac41551
[commands] Fix documented type of `Context.cog`
4 years ago
z03h
fb9aa2486d
Add PartialEmoji.url_as
4 years ago