diff options
| author | Rapptz <[email protected]> | 2017-03-14 19:12:30 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-03-14 19:12:30 -0400 |
| commit | 51b0baeb9dde8845e48b988c45e2b30a8734ad8d (patch) | |
| tree | 9e10750da611fecbe7852ce62d38d22ac9dd4ab2 /examples/edits.py | |
| parent | Remove Message.edited_timestamp in favour of Message.edited_at (diff) | |
| download | discord.py-51b0baeb9dde8845e48b988c45e2b30a8734ad8d.tar.xz discord.py-51b0baeb9dde8845e48b988c45e2b30a8734ad8d.zip | |
Speed up message update handling.
Apparently, checking if something is not None and then calling it is
faster than having an identity function that will just return the
original value untransformed, such as a lambda or doing a str(str) call
Diffstat (limited to 'examples/edits.py')
0 files changed, 0 insertions, 0 deletions