aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-27 11:59:39 -0800
committerZeyla Hellyer <[email protected]>2018-01-27 11:59:39 -0800
commit03a7e3e1d82ca667ca065367d2cf21b847f984ac (patch)
tree45958b530d60d28ed541b78f78bdd0cb9cfbaef2 /examples/05_command_framework/src
parentAdd a way to register middleware functions directly in `CreateCommand` (diff)
downloadserenity-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