diff options
| author | Austin Hellyer <[email protected]> | 2016-11-19 21:55:02 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-19 21:55:02 -0800 |
| commit | 9581588164f044dceb11e9efae18bac385e7199e (patch) | |
| tree | 8af3bd51693705335db55af02f5a4fe9af5edb68 /examples/06_command_framework | |
| parent | Rename state methods from find_ to get_ (diff) | |
| download | serenity-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