diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-27 11:59:39 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-27 11:59:39 -0800 |
| commit | 03a7e3e1d82ca667ca065367d2cf21b847f984ac (patch) | |
| tree | 45958b530d60d28ed541b78f78bdd0cb9cfbaef2 /examples/05_command_framework/src | |
| parent | Add a way to register middleware functions directly in `CreateCommand` (diff) | |
| download | serenity-03a7e3e1d82ca667ca065367d2cf21b847f984ac.tar.xz serenity-03a7e3e1d82ca667ca065367d2cf21b847f984ac.zip | |
Account for guild owners in member hierarchy check
When using `Guild::greater_member_hierarchy`, check if both user IDs are
the same (returning None) or if one of them is the guild owner, in which
case the guild owner's ID is returned.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions