dolfies
8c45b828d4
Prevent fetching mutual friends for bots (client does this)
3 years ago
dolfies
b96d31aedc
Add a few things to docs
4 years ago
dolfies
7b11d8c256
Get it starting
4 years ago
dolfies
22dcc8e352
Minor docstring consistency nitpick
4 years ago
dolfies
3e4ad5d651
Migrate user.py, refactor a few things
4 years ago
dolfies
bee07329d1
Fix a few typos
4 years ago
dolfies
3429980d0c
Migrate
4 years ago
dolfies
9c5e4882ef
Initial de-botting
4 years ago
Abhinav Singh
f485f1b612
Fix a typo in docstrings of Client class
4 years ago
Chrovo
932efa1edc
Change a few parameters to be positional only
This makes parameters positional only in the methods
fetch_sticker, fetch_webhook, fetch_channel, fetch_user, fetch_widget,
fetch_stage_instance, fetch_guild, get_sticker, and get_channel.
4 years ago
pyxiis
2f2c39ed22
Add Client.status attribute
4 years ago
MrKomodoDragon
5ef37923de
Make getters in Client positional only
4 years ago
Josh
9727b56503
Fix references in docs
4 years ago
Rapptz
ea2d972666
Make global log variable in modules private
4 years ago
Stocker
f4d5fcc8f9
Add Thread to the return type of Client.get_channel
Also explains some type ignores.
4 years ago
AkshuAgarwal
6b6bcb92e6
Fix missing or broken versionadded in docstrings
This also documents BadFlagArgument.flag
4 years ago
Rapptz
08a4db3961
Revert "Refactor Client.run to use asyncio.run"
This reverts commit 6e6c8a7b28
.
4 years ago
Rapptz
6e6c8a7b28
Refactor Client.run to use asyncio.run
This also adds asynchronous context manager support to allow for
idiomatic asyncio usage for the lower-level counterpart. At first
I wanted to remove Client.run but I figured that a lot of beginners
would have been confused or not enjoyed the verbosity of the newer
approach of using async-with.
4 years ago
Rapptz
1279510194
Add support for PartialMessageable instances
This allows library users to send messages to channels without fetching
it first.
4 years ago
Gnome!
4fca699810
Fill in ConnectionState.user via HTTPClient.static_login
4 years ago
Josh
1c63816cc0
[commands] Document / type-hint cooldown
4 years ago
Rapptz
b640493300
Add enable_debug_events parameter to enable expensive debug events
This should allow less dispatching during heavy gateway event streams.
4 years ago
Rapptz
6beef898c6
Rename instances of nitro to premium
4 years ago
Nadir Chowdhury
60d82cf908
implement guild stickers
4 years ago
Aaron Hennessey
15eb3d2e5d
Remove afk parameter from change_presence
4 years ago
Rapptz
750ba88f2c
Fix typing errors with Client
4 years ago
Alex Nørgaard
d1dc41ec2f
Fix Client.fetch_channel not returning Thread
4 years ago
Josh
7601d6cec3
[typing] Type-hint client.py
4 years ago
Josh
233d10649c
[docs] Update Sphinx and Fix various references
Co-Authored-By: Riley Shaw <[email protected] >
4 years ago
Rapptz
11e23c534a
Close ClientSession after closing websocket connections
4 years ago
Rapptz
78275023cc
Add Client.persistent_views to get all persistent views
4 years ago
Rapptz
7c40e83d10
Ensure views added to Client.add_view are persistent views
4 years ago
Nadir Chowdhury
9f98a9a87f
Implement StageInstance
4 years ago
Rapptz
732c5384fd
Allow registering a View for persistent long term dispatching
4 years ago
Cryptex
71fe40aafa
Consistent loop attribute description
4 years ago
Nadir Chowdhury
757cfad38f
Type up **kwargs of various methods
4 years ago
Josh
3864fb37a0
Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <[email protected] >
4 years ago
Sebastian Law
b82a0dc6fd
[docs] remove mentions of bot only usability
4 years ago
Rapptz
b0ec22065e
Add Client.create_dm
4 years ago
Nadir Chowdhury
e762f55847
Add fetch_invite with with_expiration
4 years ago
pikaninja
56f4ae3a83
[docs] Update notes for get_user and get_member
4 years ago
Nadir Chowdhury
631a0b1e13
Add support for ApplicationFlags
4 years ago
apple502j
9f1a96ea9b
Remove fetch_offline_members param for Client
4 years ago
apple502j
dea92a69dc
Remove support for guild subscriptions
4 years ago
Rapptz
d5ad269b35
Fix Intents resolution in the docs
4 years ago
Nadir Chowdhury
1efdef3ac3
Add typings for invites, templates, and bans
4 years ago
Cryptex
eb5356cc47
Remove user token warning in login
4 years ago
Rapptz
99fc950510
Use f-strings in more places that were missed.
4 years ago
Nadir Chowdhury
89456022cf
Add `__all__` to remaining modules
4 years ago
Rapptz
1e7f139313
Add support for setting application_id
4 years ago