aboutsummaryrefslogtreecommitdiff
path: root/examples/basic_bot.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-12-29 11:59:18 -0500
committerRapptz <[email protected]>2015-12-29 11:59:18 -0500
commitc11bd9b8f4fa5b712249a6fcc97436edbfc5e022 (patch)
tree7ce37aa40745ec4eaf5cf71c9b9a59b0977fceb3 /examples/basic_bot.py
parentRaise ClientException if an unexpected websocket close happens (diff)
downloaddiscord.py-c11bd9b8f4fa5b712249a6fcc97436edbfc5e022.tar.xz
discord.py-c11bd9b8f4fa5b712249a6fcc97436edbfc5e022.zip
ConnectionState is now constructed in Client.__init__.
This should reduce the amount of checks for None if someone doesn't want a websocket connection. The connection state is instead cleared rather than reconstructed.
Diffstat (limited to 'examples/basic_bot.py')
0 files changed, 0 insertions, 0 deletions