aboutsummaryrefslogtreecommitdiff
path: root/examples/06_command_framework.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-06 12:06:03 -0800
committerAustin Hellyer <[email protected]>2016-11-06 12:06:03 -0800
commitca55fbf8616c767c5c8593a768d07289731d573a (patch)
tree8383a12ad8401f63ee177a0016dc724aa05e9c96 /examples/06_command_framework.rs
parentFix typo in example 06 (diff)
downloadserenity-ca55fbf8616c767c5c8593a768d07289731d573a.tar.xz
serenity-ca55fbf8616c767c5c8593a768d07289731d573a.zip
Fix framework locking on MessageCreate dispatch
The framework will lock on checking if it's initialized, and will not be able to unlock a second time from within the same scope. Fix this by unlocking it once and binding it.
Diffstat (limited to 'examples/06_command_framework.rs')
0 files changed, 0 insertions, 0 deletions