aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-09-25 05:27:35 -0400
committerRapptz <[email protected]>2016-09-25 05:27:35 -0400
commit6fec17d7d4e9de452cfabb1b7453f68bb4fcadc7 (patch)
treed2cb4f21e9229a15ac47af03bb6de11438243274 /discord/client.py
parentAdd Client.get_user_info to retrieve a User from ID. (diff)
downloaddiscord.py-6fec17d7d4e9de452cfabb1b7453f68bb4fcadc7.tar.xz
discord.py-6fec17d7d4e9de452cfabb1b7453f68bb4fcadc7.zip
Catch Player errors and gracefully stop them.
This also introduces the concept of the after function taking a single parameter, the current player. This is useful for error handling, e.g. checking Player.error. Fixes #291
Diffstat (limited to 'discord/client.py')
0 files changed, 0 insertions, 0 deletions