Rapptz
b09f25293b
Use CDN URL for Guild.icon_url.
8 years ago
Rapptz
5e201be792
Fix typo in Guild.invites
8 years ago
Rapptz
3780943d0a
Add Guild.create_text_channel and Guild.create_voice_channel.
8 years ago
Rapptz
d13df30e2a
Add ability to edit guild invite splashes.
8 years ago
Rapptz
aae8b783e9
VoiceChannel.voice_members is now computed when needed.
8 years ago
Rapptz
4bd8382e06
Fix bug that caused Guild instances to be in VoiceChannel.voice_members
8 years ago
Rapptz
d93067ca0f
Add Guild.chunked property.
8 years ago
Rapptz
20041ea756
Implement AutoShardedClient for transparent sharding.
This allows people to run their >2,500 guild bot in a single process
without the headaches of IPC/RPC or much difficulty.
8 years ago
Rapptz
c863d93f69
Fix bug that made member roles go missing.
8 years ago
Rapptz
98b981848d
Move message creation to a factory method inside ConnectionState.
8 years ago
Rapptz
dceba9d962
Add useful repr to all data classes.
8 years ago
Rapptz
9c000c5a72
Fix documentation to work.
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
2c50c18ca3
Change dict value views into lists.
9 years ago
Rapptz
c187d87dae
Re-add support for reactions.
We now store emojis in a global cache and make things like adding
and removing reactions part of the stateful Message class.
9 years ago
Rapptz
5cb3ad14e8
Make emojis and members stateful.
9 years ago
Rapptz
a7a60e433b
Make roles and guilds stateful.
9 years ago
Rapptz
d1d54a468a
Rename Server to Guild everywhere.
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
45c729b167
Switch IDs to use int instead of str
9 years ago
Rapptz
31229a53e9
Optimise VoiceState for memory.
Instead of storing one VoiceState per Member, only store them if
necessary. This should bring down the number of instances
significantly.
9 years ago
Rapptz
044b0824e6
Begin working on the rewrite.
9 years ago
Rapptz
6302ef8094
Add support for partnered servers. Fixes #387 .
This commit allows you to edit a server's invite splash, query if
something has partnered features, and retrieve the invite splash + URL.
8 years ago
Rapptz
83d3b72566
Document undocumented Server.voice_client property.
9 years ago
Rapptz
5e20b468c1
Add Server.role_hierarchy to get the current role hierarchy.
9 years ago
Rapptz
203c64a9a4
Add support for server verification levels.
This adds a new enum named VerificationLevel to denote said verification
level. This enum will also be used in the Client.edit_server calls
instead of the undocumented int parameter.
9 years ago
Khazhismel
c5a989eeb2
Add custom emoji support.
9 years ago
Rapptz
b0e5357716
Fix voice state update issue in on_voice_state_update
Bug was caused to the shallow copy not copying over the VoiceState
information embedded into the copy. This would mean that when the event
is called, before and after voice state information is essentially
equivalent.
The solution to fix this is to also copy the VoiceState objects.
9 years ago
Rapptz
30d623cd46
Add Server.mfa_level to query a server's 2FA requirement.
9 years ago
Rapptz
d87d11c5a6
Fix voice states being overwritten after a GUILD_SYNC.
This was a two-fold problem. The first of which involved the overwriting
of members during a GUILD_SYNC. Since we are requesting a chunk anyway,
we have all the member references we need without actually chunking. The
second problem came from the order. We were doing a GUILD_SYNC and then
doing the chunking requests. We should do the GUILD_SYNC after the
chunking in order to just update presences.
9 years ago
Rapptz
8b3617111a
Support for v5 Gateway.
9 years ago
Rapptz
fec459e755
Document Server.large
9 years ago
Rapptz
c97e5a17e6
Update positions when a role is added or removed.
9 years ago
Rapptz
5016f12079
Add Role.server attribute.
This breaks events that expected a server parameter for the role events.
9 years ago
Rapptz
85806ef1d6
Handle nicknames in Server.get_member_named
9 years ago
Khazhismel Kumykov
0e91ef79ef
Fix handling of unavailable servers in READY
9 years ago
Rapptz
1a202bb6eb
Add Server.get_member_named to help with name + discriminator lookups.
9 years ago
Rapptz
0ad1cb95a3
Server.icon_url uses API url instead of the CDN.
9 years ago
Rapptz
f437ffe44e
Add created_at properties for Server and User.
9 years ago
Rapptz
e2ed8b1476
Remove Server.me from __slots__ since it is a property now.
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
7b135725bc
Add Server.member_count property for actual member count.
This will always work regardless of chunking or not.
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
4ea015067f
Handle cases where people put False-like values for game presences.
9 years ago
Rapptz
8974dffc4e
Change internal update functions to have a leading underscore.
9 years ago
Rapptz
93e3c360a7
Fix conflicts with __slots__ and the new properties under Server.
9 years ago
Rapptz
a1a47c6f38
Document the breaking change with the new dictionary storage change.
Since the only things dict views support are iteration we should
advise people who want the old behaviour to change it to a list.
9 years ago