BeatButton
1be119cd45
Allow sending files list smaller than 2 elements in Messageable.send
The previous restriction was unwarranted.
8 years ago
Rapptz
3330a19f35
Support for sending a nonce.
8 years ago
Rapptz
64d09f3720
Force disconnect in abc.Connectable.connect.
Some cases of is_connected is not set so we need to force it to clear
it anyway.
8 years ago
Rapptz
b44bba6ee6
First pass at documentation reform.
8 years ago
Rapptz
be2e706b2a
Rename abc.Callable to abc.Connectable.
8 years ago
Rapptz
dff6bcc745
Add support for audit log reasons.
Most routes now have a 'reason' keyword argument.
8 years ago
Rapptz
d24c2a09b6
Change some format usage to use %-formatting.
Minor speed increase when we're not doing excessive attribute
access or any type of formatting.
8 years ago
Rapptz
0ce781b37c
Fix NameError in GuildChannel.changed_roles
8 years ago
Rapptz
f9c2ac9d25
Better handling of VOICE_SERVER_UPDATE.
This now sort of respects "Awaiting Endpoint..." waiting. I haven't
actually tested out this case since it's hard to get it. However this
new code does work with the regular connection flow.
8 years ago
Rapptz
3b1b26ffb1
Re-implement voice sending.
This is a complete redesign of the old voice code.
A list of major changes is as follows:
* The voice websocket will now automatically reconnect with
exponential back-off just like the regular Client does.
* Removal of the stream player concept.
* Audio now gracefully pauses and resumes when a disconnect is found.
* Introduce a discord.AudioSource concept to abstract streams
* Flatten previous stream player functionality with the
VoiceClient, e.g. player.stop() is now voice_client.stop()
* With the above re-coupling this means you no longer have to
store players anywhere.
* The after function now requires a single parameter, the error,
if any existed. This will typically be None.
A lot of this design is experimental.
8 years ago
Rapptz
bf2066278e
Add support for multiple file attachments.
This is a breaking change. No longer does Messageable.send have a
filename keyword argument, instead this is all handled through the
discord.File model. To upload many files you must specify a list
of discord.File objects.
8 years ago
Rapptz
4ffded622a
Removing acking on channels.
8 years ago
Rapptz
0321558dec
Handle case when guild owner somehow doesn't exist in permissions_for
8 years ago
Rapptz
8daf411c72
Add Messageable.ack
8 years ago
Rapptz
cbbc75cd8d
Move purge and delete_messages from Messageable.
This is a breaking change. Move these two to TextChannel since the
other things that implement Messageable cannot reliably do bulk delete
actions in their respective channels.
8 years ago
Rapptz
0e8b260d45
Fall back to single message delete in Messageable.purge
Also make it work on user accounts.
Fixes #456 .
8 years ago
Rapptz
54f297c24f
Fix NameError in GuildChannel.overwrites_for
8 years ago
Rapptz
8e654bd52a
Add support for limit=None in Messageable.history.
Fixes #480 .
8 years ago
Rapptz
2abdbc70c2
Implement utilities for AsyncIterator.
Closes #473 .
8 years ago
Rapptz
274e6af0dd
Fix support for instant invites.
8 years ago
Rapptz
e77012f4d9
Make all public is_ functions into methods instead of properties.
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Rapptz
f4cadaf0cc
Fix bug with GuildChannel.edit and Role.edit with positions.
I did not update the HTTP code for these two methods.
8 years ago
Rapptz
92dd519b1a
Remove _get_guild_id from Messageable ABC.
8 years ago
Rapptz
33450cd1b6
Fix documentation to properly use Messageable.send
8 years ago
Rapptz
b9b9d8c4d0
Fix NameError inside Messageable.get_message
8 years ago
Rapptz
06ca518459
Rename NoMoreMessages to NoMoreItems.
8 years ago
Rapptz
8c274139df
Allow HistoryIterator to be flattened into a list.
8 years ago
Rapptz
6adfd633ea
Allow Messageable.send to work with non-truthy types.
8 years ago
Rapptz
94655c77c0
Fix Messageable.typing context manager.
8 years ago
Rapptz
d086b5421d
Fix NameError when dealing with permission resolution.
8 years ago
Rapptz
7431a127cf
Change Messageable channel getter to be a coroutine.
8 years ago
Rapptz
98b981848d
Move message creation to a factory method inside ConnectionState.
8 years ago
Rapptz
d5b616fa11
Rename MessageChannel abc to Messageable.
8 years ago
Rapptz
633eacc982
Add permission overwrites to GuildChannel.
8 years ago
Rapptz
6709979831
Move GuildChannel over to abc module.
8 years ago
Rapptz
4e175d36d3
Add delete_after parameter to MessageChannel.send
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
a1c81419b7
Rename MessageChannel.send_message to send and unify interface.
This removes MessageChannel.upload.
8 years ago
Rapptz
c205eb3528
Re-add support for embeds.
9 years ago
Rapptz
d1d54a468a
Rename Server to Guild everywhere.
9 years ago
Rapptz
f33eaa4a61
Stateful Message and remove Invite.xkcd since it is removed.
9 years ago
Rapptz
1070cf0735
Add MessageChannel.typing context manager for prolonged typing.
9 years ago
Rapptz
53ab263125
Split channel types.
This splits them into the following:
* DMChannel
* GroupChannel
* VoiceChannel
* TextChannel
This also makes the channels "stateful".
9 years ago
Rapptz
b9dafe375f
Add some basic ABCs.
9 years ago