aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-10-24 07:52:24 -0700
committerZeyla Hellyer <[email protected]>2017-10-24 07:53:22 -0700
commitd3015a0ff0c0c87888437f991945453b92296875 (patch)
tree7b86b582de68960dadf70df14ecb88564c625527 /examples/05_command_framework/src
parentAdd a debug impl for `DispatchError` (diff)
downloadserenity-d3015a0ff0c0c87888437f991945453b92296875.tar.xz
serenity-d3015a0ff0c0c87888437f991945453b92296875.zip
Fix User::has_role
Fix the return value of the function by properly checking whether the user has the role in the given guild. The function made the erraneous mistake of simply checking if the given guild had the role by Id, not whether the _member in the given guild_ had the role by Id.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions