Rapptz
133e8d3a44
Add support for server specific nicknames.
9 years ago
Rapptz
cc78cfedb6
Add permissions for changing or managing nicknames.
9 years ago
Rapptz
c1b5a52823
Refactor voice websocket into gateway.py
9 years ago
Rapptz
1c623ccf11
Begin working on gateway v4 support.
Bump websockets requirement to v3.1
Should be squashed...
9 years ago
Rapptz
fda0c8cea0
Add compatibility layer for `run_coroutine_threadsafe`.
This is a breaking change, since discord.utils.create_task is moved
to discord.compat.create_task.
9 years ago
Rapptz
e0ca746ad4
[commands] Make sure that mentions are the entire string.
9 years ago
Rapptz
54e9be7aed
Message.clean_content now takes into consideration @here mentions.
9 years ago
Daniel
5a2b8e2ce6
Properly close session if client failed to start
`keep_alive` was not defined until it was created in `received_message`, `ws` is `None` until its actually connected, which doesn't always happen. If an error happens before things start up properly, the client should now clean its objects up (fixes `unclosed client session` warning).
9 years ago
cookie
bd5effeb68
Add optional redirect_uri parameter to utils.oauth_url
9 years ago
Rapptz
8d7dd79673
Fix deadlock issue when joining large guilds.
9 years ago
Matt Gardner
cc23a54d58
Typo fix
Changed spelling of optinal to the correct spelling of optional in
docs\logging.rst
9 years ago
Khazhismel Kumykov
a2a5dc5997
Add optional server parameter to utils.oauth_url
9 years ago
Rapptz
03862a7145
Add a None check when setting status in Client.change_status.
9 years ago
Rapptz
7adf761a35
Retry if send_message or edit_message encounter a 502.
9 years ago
Rapptz
054c9c7109
[commands] CommandError derived exceptions in checks don't crash help.
9 years ago
Rapptz
7eb9a7dfdc
Handle bot tag updates in GUILD_MEMBER_UPDATE.
9 years ago
Rapptz
53bc9a3007
Yield from parser coroutine instead of making it a task.
This should give us a bit better sequential message processing.
9 years ago
Rapptz
03041bdb0a
Add Channel.overwrites_for function to get allow/deny pairs.
9 years ago
Rapptz
7023b353f6
User JSON object has 'username' keys not 'name'.
9 years ago
Rapptz
5c407df2b7
Fix Client.login documentation to showcase email/password login.
9 years ago
Rapptz
28b3d375e9
Check the right status code for improper token being passed.
9 years ago
Rapptz
6076c8c671
Better chunking behaviour and add members on PRESENCE_UPDATE.
This should hopefully cover all cases where members are added.
There was a bug where an array of chunks received would get entirely
processed if only a single chunk was received. This was fixed by
explicitly bailing early if we're requesting for chunks.
9 years ago
Khazhismel
84f1342b85
Fix chunk requests not actually being batched.
9 years ago
Rapptz
0401ab561b
Proper chunking for unavailable guilds.
This will also delay on_ready until all chunking is complete.
9 years ago
Rapptz
29d3f5a886
Allow Client.edit_profile to work with bot accounts.
9 years ago
Rapptz
fa14c72836
Add User.bot attribute to check if a user is a bot account.
9 years ago
Khazhismel Kumykov
9f722731dd
Fix typo in Role.created_at
9 years ago
Rapptz
eedad13ac1
Add utility function for generating OAuth2 urls.
9 years ago
Rapptz
72e84a1b47
Change all email/password pair examples to use token.
9 years ago
Rapptz
93edf88ee4
Change login, start and run to be variadic.
9 years ago
Rapptz
222a89a653
Fix unclosed response and document token login a bit better.
9 years ago
Max Gurela
7f340f88ad
Add support for token login (for bots)
9 years ago
Rapptz
e64787a415
Guard against AttributeErrors when clearing cached slot cache.
9 years ago
Rapptz
dfd51b95d6
Make Message.clean_content a cached property again.
Instead, clear the cached properties so they will be re-cached when
invoked again.
9 years ago
Zeta
f235dc5ca4
Fix handling of message update in MESSAGE_UPDATE
9 years ago
Khazhismel Kumykov
160cbc81e7
Clarify channel-specific permissions documentation.
Manage Roles and Manage Channels is renamed to "Manage Permissions" and
"Manage Channel" in the discord UI, clarify which fields in the Permission
object those map to.
9 years ago
Khazhismel Kumykov
0e91ef79ef
Fix handling of unavailable servers in READY
9 years ago
Rapptz
82b2421ac7
[commands] Add deterministic cog unloading.
The special function is `__unload` to prevent with name conflicts with
existing or future cogs.
9 years ago
Rapptz
8b7f15ef8d
Skip member_update event when a member is not in a guild.
9 years ago
Rapptz
4451091c91
[commands] Fix pagination logic a little inside HelpFormatter.
This should prevent pages accidentally reaching >2k chars.
9 years ago
Rapptz
d79a13d7bc
[commands] Refactor special cased discord.py converters.
Code is a little more straightforward. The Member and Channel special
cases will now work in private message contexts when given a name. The
Member special case will also work if you pass in a name and
discriminator combo.
9 years ago
Rapptz
1a202bb6eb
Add Server.get_member_named to help with name + discriminator lookups.
9 years ago
Rapptz
f93fa8a0b2
User.__str__ now includes the discriminator.
9 years ago
Rapptz
7fe5a54183
Clarify that linux users need libffi for PyNaCl.
9 years ago
Rapptz
ee4574a5e1
Drop voice packets when it can be potentially blocking.
9 years ago
Rapptz
10cb16a450
Add PyNaCl to the list of requirements.
9 years ago
izy521
719c0269f4
Encrypted audio working with PyNacl
I chose PyNacl since it came with its own libsodium portable copy.
9 years ago
Rapptz
c015e492d7
[commands] Don't yield from inside bot utility functions.
9 years ago
Khazhismel Kumykov
5f776f369d
Add default avatar property to User.
9 years ago
Will Tekulve
174016c918
[commands] Fix infinite recursion on subgroups without a command.
Just as an FYI, ctx.invoked_subcommand will end up being an instance
of commands.Group!
9 years ago