diff options
| author | Rapptz <[email protected]> | 2017-01-07 21:55:47 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-07 23:19:39 -0500 |
| commit | 20041ea756305f20c86a621232639932c50f107c (patch) | |
| tree | fc9be7da66b1dffd274d96f85dd1cb7c605e56c2 /discord/__init__.py | |
| parent | Fix variable shadowing in READY parsing. (diff) | |
| download | discord.py-20041ea756305f20c86a621232639932c50f107c.tar.xz discord.py-20041ea756305f20c86a621232639932c50f107c.zip | |
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.
Diffstat (limited to 'discord/__init__.py')
| -rw-r--r-- | discord/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/__init__.py b/discord/__init__.py index e8a29e45..4d04aeb8 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -37,6 +37,7 @@ from . import utils, opus, compat, abc from .enums import ChannelType, GuildRegion, Status, MessageType, VerificationLevel from collections import namedtuple from .embeds import Embed +from .shard import AutoShardedClient import logging |