aboutsummaryrefslogtreecommitdiff
path: root/examples/echo.py
diff options
context:
space:
mode:
authormegamit <[email protected]>2015-09-02 23:07:36 +0100
committermegamit <[email protected]>2015-09-02 23:07:36 +0100
commit6a40a5da2ebc978e504625fff1d6befda906649f (patch)
treec2524b8e2cebad2d4eef062a8e80e4806d528636 /examples/echo.py
parentDocument exceptions and change conf.py version detection. (diff)
downloaddiscord.py-6a40a5da2ebc978e504625fff1d6befda906649f.tar.xz
discord.py-6a40a5da2ebc978e504625fff1d6befda906649f.zip
Fix issue with author changing type
When cycling through the attributes of the data json 'author' within 'message' which was previously a user object is overwritten with a dictionary. This causes an AttributeError to be thrown ( and silently swallowed... thanks except: pass) whenever any of its attributes are referenced in the form message.author.x. User data should change in this step and the user object should not be modified for any reason so its safe to skip updating it.
Diffstat (limited to 'examples/echo.py')
0 files changed, 0 insertions, 0 deletions