diff options
| author | Austin Hellyer <[email protected]> | 2016-12-03 12:46:09 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-03 12:46:09 -0800 |
| commit | 143337ae717773f59562d67f85d0e9c44063a45b (patch) | |
| tree | 26553ee5a0caef0dbb8f8edb0effeec942ad92e1 /examples/06_command_framework | |
| parent | Fix Shard::set_presence example (diff) | |
| download | serenity-143337ae717773f59562d67f85d0e9c44063a45b.tar.xz serenity-143337ae717773f59562d67f85d0e9c44063a45b.zip | |
Add Role Eq/Ord impls
Roles can now be compared directly. This is a heirarchy check.
This checks the following between two roles, A and B:
- A's position is greater than B;
- if not, then A's Id is greater than B;
if these two conditions are false, then B is greater than A. If the two
conditions are both true, then they are of equivilance.
Diffstat (limited to 'examples/06_command_framework')
0 files changed, 0 insertions, 0 deletions