Rapptz
9176caa355
Fix Channel.permissions_for to work with the new permission system.
9 years ago
Rapptz
dd8a60f743
Add Permissions.administrator and change Permissions.manage_roles
9 years ago
Rapptz
92175ea152
Add example for Client.purge_from
9 years ago
Rapptz
493bffc685
Rework playlist example to work with multi-server voice.
9 years ago
Rapptz
1155a0aaa4
Make Player threads into daemon threads.
9 years ago
Rapptz
3c04ec2af0
Add a way to change the player volume.
9 years ago
Rapptz
339e26275f
Add VoiceClient.move_to for quick switching of voice channels.
9 years ago
Twentysix
132873d159
Add clarification for purge_from and delete_messages
Endpoint not usable by non-bot accounts
9 years ago
Rapptz
b8eab5f656
Change second run_until_complete to not be empty.
This should stop the infinite loops in some cases.
9 years ago
Rapptz
0c8d5ee863
Force encoding of text retrieval functions to use utf-8.
Closes #207
9 years ago
Rapptz
1e175f2ab3
Fix issue with Client.purge_from not deleting the 101st message.
9 years ago
Rapptz
1f86a9b795
Add Client.purge_from as a high level interface around bulk delete.
9 years ago
Rapptz
1b601097d2
Add Client.delete_messages for bulk delete.
9 years ago
Rapptz
cf2bee5c43
Fix issue with Member.joined_at being None.
9 years ago
Rapptz
3feba5d1bb
Add Game.type and Game.url attributes to change streaming status.
9 years ago
Rapptz
701720a0f8
Add a TimeoutError if VoiceClient.connect fails.
9 years ago
Rapptz
570ccbf753
Suppress ConnectionClosed on sending in the main websocket.
9 years ago
Rapptz
2fc496304c
Add libopus DLLs for ease of use.
9 years ago
Jake
7efabce4b2
Enable FEC/PLR
Enable forward error correction + packet loss percent tuning in opus encoder. Additionally, use some sane defaults. This should fix people hearing robo in music when packet loss is happening.
9 years ago
Rapptz
d9c780b8a8
Working multi-server voice support.
9 years ago
Rapptz
5fa715c350
Fix typo in Message.role_mentions documentation.
9 years ago
Rapptz
1acf478fb7
Make Permissions an iterable class.
9 years ago
Rapptz
fdaa4299a3
[commands] Fix when_mentioned when handling nicknames.
9 years ago
Milo Mirate
21c88cf727
Make Permissions partially-ordered.
Specifically:
* P1 <= P2 iff P1 expresses a subset of the permissions expressed by P2.
* P1 < P2 iff P1 <= P2 and P1 != P2
* vice versa for P1 >= P2 and P1 > P2
9 years ago
Khazhismel Kumykov
7bae6dc5bc
Fix changing own nickname without manage_nicknames
Use @me/nick rather than id when changing own nickname - this only
requires change_nicknames rather than manage.
9 years ago
Rapptz
5e8c79bf76
Attempt to consistently sort of all Member.roles
9 years ago
Rapptz
47cccba946
Remove setting read-only __doc__ in Member overrides.
9 years ago
Rapptz
ebaf74e784
Sort member.roles by ID but keep the default role in index 0.
This should make the events checking if `before` and `after` roles
are equivalent more sane for users.
9 years ago
Rapptz
e2bfa90eef
Add User.mentioned_in helper to check if a message mentions you.
9 years ago
Rapptz
3758c0aa83
Member.mention now uses nickname hint if needed.
9 years ago
Rapptz
196e9463f5
Add Role.mentionable attribute.
9 years ago
Khazhismel Kumykov
29b01f20ba
Fix Member.display_name returning None
If Member.nick was None, getattr would happily return None, not the
default value.
9 years ago
Rapptz
7f09acf871
[commands] Allow role mentions to work with discord.Role params.
This also fixes the Member regex to support the new <@!user_id> syntax
and allows colours to have a leading # before the number.
9 years ago
Rapptz
e112536ce2
Simplify User.display_name a bit.
9 years ago
Rapptz
85806ef1d6
Handle nicknames in Server.get_member_named
9 years ago
Rapptz
79f6554289
Add Message.role_mentions and handle them in Message.clean_content
9 years ago
Rapptz
abb955fdaa
Add Role.mention property
9 years ago
Rapptz
07adb1d5e9
Add ability to change nicknames via Client.change_nickname
9 years ago
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