Rapptz
98090a2a57
[commands] Helper functions now take *args and **kwargs.
9 years ago
Rapptz
89de0e7e9f
Client.send_file can now send content along with the message.
There is a breaking change here. We have to change the filename
parameter to be a keyword only argument so there are fewer errors
and surprises.
9 years ago
Rapptz
91ac96daef
Add channel specific bitrates.
9 years ago
Rapptz
3ec99a7cb8
Fix NameError issue in Client.send_file.
9 years ago
Rapptz
3862b1abcf
Do not overwrite members that are already in cache during chunking.
9 years ago
Rapptz
ff14fa0fe8
Switch to using ClientSession objects for aiohttp v0.21
9 years ago
Rapptz
0b80575ae3
Fix case when no chunks are necessary.
9 years ago
Rapptz
4584c68f0c
Remove request_offline option.
9 years ago
Rapptz
841e584ee9
Update owner references when we get a chunk.
9 years ago
Rapptz
4768d950c5
Offline members are now added by default automatically.
This commit adds support for GUILD_MEMBERS_CHUNK which had to be done
due to forced large_threshold requirements in the library.
9 years ago
Rapptz
530fbe78b8
Handle case where PRESENCE_UPDATE adds members to cache.
When we don't request offline members, members that are going from
offline to online in the server will become available via the
PRESENCE_UPDATE event. This should be transparent to the user since
technically the member exists in the server and thus on_member_update
is used instead of on_member_join.
9 years ago
Rapptz
7b135725bc
Add Server.member_count property for actual member count.
This will always work regardless of chunking or not.
9 years ago
Rapptz
baf1312d0e
[commands] Raise RuntimeError instead of StopIteration.
9 years ago
Rapptz
b9873ea04e
Add new US Central and US South voice regions.
9 years ago
Rapptz
055f5291f0
Add ability to set bandwith and bitrate.
Patch by Jake.
9 years ago
Rapptz
6682691012
Fix cases where Member.roles would have a string instead of Role.
Fixes #81 .
9 years ago
Rapptz
1cd3c0b5cb
Make VoiceClient.create_ytdl_player a coroutine.
This is a breaking change. The reason to make it a coroutine is so that
the info retrieval is not blocking since there are rare instances where
it would take an abnormally long time. The player returned is also
augmented to have more attributes relating to the stream itself.
9 years ago
Rapptz
b4604fa3f6
Change options in VoiceClient.create_ytdl_player to ytdl_options.
This is a breaking change. This allows you to set both ffmpeg options
and regular ytdl options in the same function since we now just
forward the keyword arguments to the ffmpeg player.
9 years ago
Rapptz
17e17cade9
[commands] Fix crash when a group has no commands and help is requested
9 years ago
Rapptz
085e8d4eb3
Message.clean_content now handles everyone mentions properly.
9 years ago
Rapptz
94d31834fc
Change enumerators into enumerations to please Voltana.
9 years ago
Rapptz
f9a3979008
Update member references when status changes.
9 years ago
Rapptz
7056a1f0ec
[commands] Change signature convention to use POSIX standards.
9 years ago
Rapptz
0466f5965b
[commands] Raise TypeError if the name is not a string.
9 years ago
Rapptz
e2c9cb7f8e
Force content-type for file uploads.
9 years ago
Rapptz
45c6619018
[commands] Context.invoke will now return what the command returns.
9 years ago
Rapptz
1688d513e8
[commands] Context.invoke just invokes a command with no special case.
Previously it would both forward and invoke depending if there were no
kwargs given. Now it just passes in the arguments to another command
without doing any special casing on the no argument case.
9 years ago
Rapptz
a636f6ae6f
Update README to have a valid example.
9 years ago
Rapptz
d8d4c4e843
[commands] Fix typo on HelpFormatter.show_check_failure attribute.
9 years ago
Rapptz
3d21a186fe
Try to make the pause/resume loop not busy.
9 years ago
Alexey Glushko
f075548d78
add ``headers`` option to create_ffmpeg_player()
headers can't be passed through 'options' because in '-headers' flag shoul be placed before '-i'
At least for ffmpeg 2.8.4
9 years ago
Rapptz
8b1854e759
Add and remove some of the on_socket_* events.
on_socket_raw_receive and on_socket_raw_send were added back in an odd
way. The rest of them such as on_socket_closed, on_socket_opened, and
on_socket_receive were removed.
9 years ago
Rapptz
4d816c4ef3
HTTPException now has a text attribute if JSON is not available.
9 years ago
Rapptz
8caadb5f03
[commands] Fix discord.Invite special case handling in parameters.
This led to decorating a lot of things into @asyncio.coroutine .
Unfortunately there's no way to lower the amount of decoration since
coroutines spread like a virus.
9 years ago
Rapptz
d013032522
[commands] Allow setting the bot error messages in the help command.
This is to help out those folks that don't speak English.
9 years ago
Rapptz
bb5e222f29
[commands] Add Bot.help_attrs to customise the help command.
The help message now uses the invoked_with attribute of the context to
get the name of the command it uses instead of a hardcoded help.
9 years ago
Rapptz
abbe79919b
[commands] Change Bot.pm_help to be an optional bool.
The behaviour of passing in pm_help=None makes it so the bot will only
send private messages if the length of the message is too "big", which
is defined as having more than 1000 characters in the output.
9 years ago
Rapptz
e7931eccc8
Support changing owners in Client.edit_server.
9 years ago
Rapptz
b98a8c1e14
[commands] Add Command.no_pm attribute to block a command in PM.
9 years ago
Rapptz
2d413756b0
Fix PrivateChannel.permissions_for not having self parameter.
9 years ago
Rapptz
86e9b62303
Move Member.permissions_in to User.permissions_in.
9 years ago
Rapptz
654001ba3e
Update the unavailable guild's data when it becomes available.
9 years ago
Rapptz
99749a2798
Change docstring for Client.send_message to point to a valid property.
9 years ago
Rapptz
1f5d26b7d3
Unit correction in voice docstrings.
9 years ago
Rapptz
e67f580350
Remove unneeded owner_id assignment.
9 years ago
Rapptz
178d43e24f
Support upcoming guild ownership transfership change.
Thanks to Jake.
9 years ago
Rapptz
8de55fa203
Update voice channel if we move to different channels.
9 years ago
Rapptz
a82176120c
[commands] help command now uses the full name in the signature.
9 years ago
Rapptz
d1508bc739
[commands] Fix indentation error in commands.bot_has_role docstring.
9 years ago
Rapptz
6c7a493fd9
Raise a different exception if ffmpeg is not found in PATH.
9 years ago