Rapptz
2e03927f2c
Merge send_raw_file and send_file
10 years ago
Rapptz
57312d96f7
Fix annoying lack of parenthesis at end of HTTPException
10 years ago
Rapptz
5ca04ea08f
Use try-except instead of checking for membership.
Basically, a lot of the checks revolving "if x in y" could be written
more efficiently by doing the task anyway and ignoring the exception
a la the EAFP guideline.
10 years ago
Red_M
36b145aee2
Allow sending raw file objects in memory with client.send_raw_file
10 years ago
Khazhismel
52d3457443
Add send_typing command to allow sending typing updates.
10 years ago
Azza
0b4706699f
fixed voice_members not updating when changing channels
10 years ago
Rapptz
acbbaa39ad
Add Message.channel_mentions
10 years ago
Rapptz
da37ff16c1
Add get_raw_[channel_]mentions to Message
10 years ago
Rapptz
e88c194e9a
Fix is_private check in mentions array handling.
10 years ago
Rapptz
692a6a3bc6
Fix ordering issue with Message.server
10 years ago
Rapptz
75658f46a2
Message.mentions now returns a list of Member instead of User
10 years ago
Rapptz
cc59654216
Add Client.get_all_channels and Client.get_all_members
10 years ago
Rapptz
d1a7d2cad2
Documentation fixes for Client.logs_from
10 years ago
Khazhismel
fcc540ec44
Add before and after params to logs_from.
10 years ago
Rapptz
3e072db5d0
Fix Client.unban parameter name (name -> user)
10 years ago
Rapptz
52c1d134ba
Clean-up guild_delete.
10 years ago
Rapptz
5ecaf1df4c
Make unavailable default to None.
10 years ago
Rapptz
3d70966021
Attempt to fix unavailable guilds again
10 years ago
Hla
83a5449fc5
icon_url and get_default_channel in Server
10 years ago
Rapptz
85ac03a081
Role.is_everyone actually uses the proper check.
10 years ago
Rapptz
054cf2e1e0
Channel.permissions_for now correctly handles everyone overwrites.
10 years ago
Rapptz
7a4fab5566
Change iterable to an argument list in role related documentation.
10 years ago
Rapptz
ad6fbbfe43
Fix Client.create_role
10 years ago
Rapptz
7161723034
Change on_server_create/delete to on_server_join/remove.
10 years ago
Rapptz
822e54200d
Document Client.login raising exceptions.
10 years ago
Rapptz
9b2a78a031
Add InvalidArgument exception and change exceptions thrown.
10 years ago
Rapptz
027b7b33c9
All HTTP requests now throw HTTPException.
10 years ago
Rapptz
cc397d6e6a
Document cases where GatewayNotFound is thrown.
10 years ago
Rapptz
3266d1ed10
GatewayNotFound now has a default message.
10 years ago
Rapptz
d14bffcd96
Rename InvaldiDestination to a generic ClientException.
10 years ago
Rapptz
61e41ec3b9
All exceptions now derive from DiscordException.
10 years ago
Rapptz
6ae6bd8e6d
Remove InvalidEventName exception due to it being unused
10 years ago
Rapptz
f770fc1c67
Add discord.Object to the documentation.
10 years ago
Rapptz
dd2e08e185
Add support for passing in Object to methods.
10 years ago
Rapptz
c49ff36a7b
Make Message.channel an Object if something goes wrong.
Fixes #21
10 years ago
Rapptz
9f12067b3d
Add discord.Object class for generic pass-by-ID.
10 years ago
Rapptz
a0073c734e
Split data classes into more files.
10 years ago
Rapptz
616f2bb4e9
Remove the name from logging.
Fixes #28 .
10 years ago
Rapptz
60dfd04439
Check if member is in list for GUILD_MEMBER_REMOVE.
10 years ago
Rapptz
2938d0cfcf
Don't update member.roles in add/remove_roles.
10 years ago
Rapptz
5efddaf35d
Support unavailable servers.
10 years ago
Rapptz
72674b4c2d
Add Channel.mention to mention a channel.
10 years ago
Rapptz
1a13f9ad30
Add Message.server attribute shortcut.
10 years ago
Rapptz
8552e24945
Version bump to v0.8.0
10 years ago
Rapptz
f018895f2c
Fix documentation warnings.
10 years ago
Rapptz
6981c51e0a
Change default parameter to None for Client.set_channel_permissions
10 years ago
Rapptz
6f76a5ab33
Add Client.delete_channel_permissions
Fixes #18
10 years ago
Rapptz
ec5b7bb493
Add Client.set_channel_permissions
10 years ago
Rapptz
b94dffaf87
Change Permissions constants to be class method factories instead.
10 years ago
Rapptz
8b8312608c
Change Colour constants to be class method factories instead.
10 years ago