aboutsummaryrefslogtreecommitdiff
path: root/discord/__init__.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-03-05 11:01:46 -0500
committerRapptz <[email protected]>2018-03-05 11:15:49 -0500
commitf8f8f418f3c51b6a885a1b6b7cd46c38c070b3bc (patch)
tree0f26ed361806cf4470b8d98b61f63d2055cf87d0 /discord/__init__.py
parentUpdate docstrings for channel.py (diff)
downloaddiscord.py-f8f8f418f3c51b6a885a1b6b7cd46c38c070b3bc.tar.xz
discord.py-f8f8f418f3c51b6a885a1b6b7cd46c38c070b3bc.zip
Split Game object to separate Activity subtypes for Rich Presences.
This is a massive breaking change. * All references to "game" have been renamed to "activity" * Activity objects contain a majority of the rich presence information * Game and Streaming are subtypes for memory optimisation purposes for the more common cases. * Introduce a more specialised read-only type, Spotify, for the official Spotify integration to make it easier to use.
Diffstat (limited to 'discord/__init__.py')
-rw-r--r--discord/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/__init__.py b/discord/__init__.py
index 20c81853..3f605a0a 100644
--- a/discord/__init__.py
+++ b/discord/__init__.py
@@ -19,8 +19,8 @@ __version__ = '1.0.0a'
from .client import Client, AppInfo
from .user import User, ClientUser, Profile
-from .game import Game
from .emoji import Emoji, PartialEmoji
+from .activity import *
from .channel import *
from .guild import Guild
from .relationship import Relationship