diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-27 18:45:05 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-27 18:45:05 -0800 |
| commit | ce2952ad0d783b4a256171e48602c6caf1125c61 (patch) | |
| tree | 316ccddd777b5c21ff0e10e295a285071f725176 /examples/05_command_framework/src | |
| parent | Account for guild owners in member hierarchy check (diff) | |
| download | serenity-ce2952ad0d783b4a256171e48602c6caf1125c61.tar.xz serenity-ce2952ad0d783b4a256171e48602c6caf1125c61.zip | |
Add `Message::member`
Add a `member` function on `model::channel::Message` to retrieve a clone
of the author's Member instance in the channel's guild.
If the message was not sent in a guild, the guild could not be found in
the cache, or the member instance could not be found in the cache, then
`None` is returned.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions