aboutsummaryrefslogtreecommitdiff
path: root/src/ext/framework/create_command.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-18 07:19:05 -0800
committerAustin Hellyer <[email protected]>2016-12-18 10:16:17 -0800
commit760a47aa4d34160f44048e775afeb30f08891c99 (patch)
treeab741b8eb311be304799f294454bf2b7f7fb4301 /src/ext/framework/create_command.rs
parentExpose message webhook Ids (diff)
downloadserenity-760a47aa4d34160f44048e775afeb30f08891c99.tar.xz
serenity-760a47aa4d34160f44048e775afeb30f08891c99.zip
Fix framework before check
The framework would ignore the `before` function if the command was not ran by an owner. Instead, flip the conditions so that it's always run, and then the result is succeeded by an owner check.
Diffstat (limited to 'src/ext/framework/create_command.rs')
0 files changed, 0 insertions, 0 deletions