37 Commits (master)

Author SHA1 Message Date
cibere 16f6466da1
Fix Template.source_guild attempting to get from cache 2 years ago
Rapptz d609c78a9e Clarify Template.source_guild documentation 2 years ago
Steve C ce06beeb6c
Fix permissions-based docstrings to be more consistent 3 years ago
Rapptz 2067819b75 Fix some minor typing errors 3 years ago
Harshal Laheri 20d3871290
Add return type hint for some functions 3 years ago
chromacoat dreamkey 095aaa9ad1
Change wording of InvalidArgument removal in docs 3 years ago
Rapptz 4c8b1f9abd Remove unused imports 3 years ago
Josh 2b69b5d545
Remove discord.InvalidArgument 3 years ago
Rapptz 0eb2f32399 Remove VoiceRegion enum and Guild.region attribute 3 years ago
Rapptz 88b520b5ab Reformat code using black 3 years ago
Rapptz 490bbffc93 Remove in-place edits and return fresh instances instead 4 years ago
Rapptz 17f0b59c76 Move explanation note for type ignore above the offending line 4 years ago
Rapptz 28ed599345 Fix Template.source_guild typehint 4 years ago
Stocker e79a648987
Add missing typehints to template.py 4 years ago
Rapptz ecf239d2a2 Fix user cache acting incorrectly with evictions 4 years ago
Rapptz 62b024803a Mock PartialTemplateState._get_guild as pass-through 4 years ago
Rapptz b1a355394f Rework Template.edit to use MISSING sentinel 4 years ago
Sebastian Law 124c4a3919
Add Template.url 4 years ago
Nadir Chowdhury 157801bc90
Add Template.is_dirty 4 years ago
Rapptz d58edd10a7 Add missing future annotations import 4 years ago
Nadir Chowdhury 1efdef3ac3
Add typings for invites, templates, and bans 4 years ago
Rapptz 99fc950510 Use f-strings in more places that were missed. 4 years ago
Rapptz ff7094ce96 Convert datetimes to aware datetimes with UTC. 4 years ago
Rapptz 54288879e2 Remove userbot functionality 4 years ago
Rapptz 9d39b135f4 Modernize code to use f-strings 4 years ago
Nadir Chowdhury 7d345e8e4e
remove trailing whitespace 4 years ago
Nadir Chowdhury 63ec23bac2
Code optimisations and refactoring via Sourcery 4 years ago
Nadir Chowdhury fb773dc1dd
Add remaining template endpoints 4 years ago
Nihaal Sangha 69bdc3a184
Change copyright year to present 4 years ago
Rapptz 431ee8794b Fix error with templates not having access to member cache flags. 4 years ago
apple502j fb5359f028
Add missing comma in template.py 5 years ago
Xua a1d6ff82dd
Fix NameError and AttributeError in Template and Integrations 5 years ago
Riley S b2065c92df
Fix typo when creating a guild via template 5 years ago
NCPlayz 3408695a37 [docs] fix reference to `Guild` and document `utils.resolve_template` 5 years ago
James 61216112d0 Add a licence and encoding declaration to missing files 5 years ago
Skezza c3bca7ec73
Documentation formatting 5 years ago
Nadir Chowdhury 2b3c6e0d47
Add support for Discord templates 5 years ago