Arthur and GitHub
3ffe134895
Merge pull request #44
...
* Typehint gateway.py
* Add relevant typehints to gateway.py to voice_client.py
* Change EventListener to subclass NamedTuple
* Add return type for DiscordWebSocket.wait_for
* Correct deque typehint
* Remove unnecessary typehints for literals
* Use type aliases
* Merge branch '2.0' into pr7422
2021-09-02 13:50:19 -07:00
Arthur and GitHub
1032728311
Merge pull request #32
...
* Add get/fetch_member to ThreadMember objects
2021-09-02 13:43:19 -07:00
Arthur and GitHub
33470ff196
Merge pull request #31
...
* Add bots and humans to TextChannel
2021-09-02 13:41:26 -07:00
Arthur and GitHub
47e42d1648
Merge pull request #42
...
* implement WelcomeScreen
* copy over the kwargs issue.
* readable variable names
* modernise code
* modernise pt2
* Update discord/welcome_screen.py
* make pylance not cry from my onions
* type http.py
* remove extraneous import
2021-09-02 13:40:11 -07:00
Arthur and GitHub
092fbca08f
Merge pull request #21
...
* [BREAKING] Make case_insensitive default to True on groups and commands
2021-09-02 12:28:03 -07:00
Arthur and GitHub
13834d1147
Merge pull request #7
...
* Add try_user to get a user from cache or from the gateway.
* Extract populate_owners into a new coroutine.
* Add a try_owners coroutine to get a list of owners of the bot.
* Fix coding-style.
* Fix a bug where None would be returned in try_owners if the cache was…
* Fix docstring
* Add spacing in the code
2021-09-02 12:24:52 -07:00
Arthur and GitHub
5d10384576
Merge pull request #27
...
* Add author_permissions to the Context object as a shortcut to return …
2021-09-02 12:18:26 -07:00
Arthur and GitHub
c485e08ea0
Add try_member to guild. ( #14 )
...
* Add try_member to guild.
This also fix an omission in the fetch_member docs. fetch_member raises NotFound if the given user isn't in the guild.
* Optimize imports.
2021-09-01 17:47:15 -07:00
Arthur and GitHub
de0e8ef108
V2.0 changelog ( #8 )
...
* Copy in messages from Danny, verbatim
* Type whats_new
* Add my changes to the changelog
* Fix a typo
2021-08-29 10:55:49 -07:00
Arthur Jovart
64ee792391
Add int() support to Hashable, making it available across the board for AuditLogEntry, *Channel, Guild, Object, Message, ...
2021-08-29 01:21:20 +02:00
Arthur Jovart
22de755059
Add int() and str() support to Message
2021-08-29 01:09:05 +02:00
Arthur Jovart
fa7f8efc8e
Add int() support to Guild
2021-08-29 01:07:26 +02:00
Arthur Jovart
9d1df65af3
Add int() support to Role
2021-08-29 01:06:18 +02:00
Arthur Jovart
3ce86f6cde
Add int() support to Emoji
2021-08-29 01:05:28 +02:00
Arthur Jovart
31e3e99c2b
Add __int__ special method to User and Member
2021-08-29 00:59:29 +02:00
Arthur Jovart
8cdc1f4ad9
Alias admin to administrators in permissions. This needs to be tested, but should be working.
2021-08-29 00:26:26 +02:00
Arthur Jovart
c8cdb275c5
Fix set_* function name
2021-08-28 23:29:49 +02:00
Arthur Jovart
406f0ffe04
Make Embed.image and Embed.thumbnail full-featured properties
...
This avoids the need for set_* methods.
2021-08-28 23:14:26 +02:00
Arthur Jovart
86618f42a6
Add humans and bots to Guild.
2021-08-28 20:34:57 +02:00
Arthur Jovart
cf4d2e23a2
Update the README for the fork version. Also removes the japanese version.
2021-08-28 19:44:58 +02:00
Arthur and GitHub
8db79d2579
Add Thread.category
2021-07-30 21:27:10 -04:00
Arthur and Rapptz
ad87bfb395
Guild.owner may be None for very large guilds.
2020-04-14 03:24:46 -04:00