21 Commits

Author SHA1 Message Date
Lint Action
7513c2138f Fix code style issues with Black 2021-09-05 21:34:20 +00:00
Rapptz
490bbffc93 Remove in-place edits and return fresh instances instead
Fixes #4098
2021-08-23 23:46:50 -04:00
Nadir Chowdhury
96b9a0e09d
Add reason kwarg to more methods 2021-07-28 19:54:32 -04:00
Rapptz
53ef89c29f Use a property for StreamIntegration.expire_behavior alias 2021-06-29 21:46:19 -04:00
Rapptz
c6a69062a8 Rework StreamIntegration.edit to not rely on state 2021-06-29 21:45:06 -04:00
Harmon
1a3422dccc
Handle role_id possibly being None for StreamIntegration 2021-06-27 23:46:14 -04:00
Josh
a0e1d1e25f
Fix typing of IntegrationAccount class 2021-06-11 04:25:23 -04:00
Rapptz
794327cdb4 Fix type errors with required keys in the integration types 2021-05-29 01:09:07 -04:00
Rapptz
1ae40a11b7 Fix some type errors in StreamIntegration.edit 2021-05-29 00:54:31 -04:00
Rapptz
06743dd434 Make StreamIntegration.role a property rather than a strong reference 2021-05-29 00:50:56 -04:00
Maya
4d7822493f
Add support for bot integrations 2021-05-29 00:43:33 -04:00
Nadir Chowdhury
3e92196a2b
Add typings for audit logs, integrations, and webhooks 2021-04-10 02:53:24 -04:00
Rapptz
99fc950510 Use f-strings in more places that were missed. 2021-04-08 06:02:47 -04:00
Nadir Chowdhury
89456022cf
Add __all__ to remaining modules 2021-04-07 02:30:32 -04:00
Rapptz
ff7094ce96 Convert datetimes to aware datetimes with UTC.
Naive datetimes will now be interpreted as local time throughout
the library.
2021-04-04 23:54:08 -04:00
Rapptz
9d39b135f4 Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
2021-04-04 07:03:53 -04:00
Nihaal Sangha
69bdc3a184
Change copyright year to present 2021-01-15 05:28:11 -05:00
Tarek
7f17dc79a6
Remove namedtuples to better future guard the library 2020-09-21 03:36:58 -04:00
Xua
a1d6ff82dd
Fix NameError and AttributeError in Template and Integrations 2020-08-05 05:48:42 -04:00
NCPlayz
ce03c62c6b [bugs] stop resolving Object for template/invite; remove dupe methods 2020-06-29 16:58:19 +01:00
Nadir Chowdhury
a64006ee9b
Add support for integrations 2020-06-28 14:50:43 -04:00