Fix KeyError in certain logging cases.
Fix KeyError in certain logging cases.

Rapptz/discord.py,imayhaveborkedit/discord.py,mgardne8/discord.py,Harmon758/discord.py,rapptz/discord.py,Harmon758/discord.py,khazhyk/discord.py