aboutsummaryrefslogtreecommitdiff
path: root/examples/06_command_framework
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-19 21:55:02 -0800
committerAustin Hellyer <[email protected]>2016-11-19 21:55:02 -0800
commit9581588164f044dceb11e9efae18bac385e7199e (patch)
tree8af3bd51693705335db55af02f5a4fe9af5edb68 /examples/06_command_framework
parentRename state methods from find_ to get_ (diff)
downloadserenity-9581588164f044dceb11e9efae18bac385e7199e.tar.xz
serenity-9581588164f044dceb11e9efae18bac385e7199e.zip
Rework contextual presence methods
Rework the methods to accept strings and games directly, rather than Optional values. Instead, use the new `reset_presence` to set a clean status, or `set_presence` for more fine-grained control. In addition, `Game::playing` and `Game::streaming` now accept `&str`s rather than Strings.
Diffstat (limited to 'examples/06_command_framework')
0 files changed, 0 insertions, 0 deletions