diff options
| author | Fuwn <[email protected]> | 2020-11-04 18:18:00 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-11-04 18:18:00 -0800 |
| commit | 6f215d3065164303aae8a913a5a90dd157b7482d (patch) | |
| tree | 354192c5d093166b6681d84e7a4fe52047b9eb54 /src/core/handler.rs | |
| parent | fix: (urbandict to nsfw), (clapify, uwufy, and rate return if mention everyone) (diff) | |
| download | dep-core-next-6f215d3065164303aae8a913a5a90dd157b7482d.tar.xz dep-core-next-6f215d3065164303aae8a913a5a90dd157b7482d.zip | |
feat, fix, chore, revert (desc)
feat:
- not working: presence now checks if environment variable is present, if not, set to `0.1.0`.
- `@everyone` abuse handling
- urban dictionary to nsfw
fix:
- rename cc environment variables file
chore:
- bump version from `0.1.1` to `0.1.2`
revert:
- display presence now, but static
Diffstat (limited to 'src/core/handler.rs')
| -rw-r--r-- | src/core/handler.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/handler.rs b/src/core/handler.rs index 2074567..60258db 100644 --- a/src/core/handler.rs +++ b/src/core/handler.rs @@ -106,8 +106,9 @@ impl EventHandler for Handler { // let guild_count = guilds.len(); // ctx.set_game(Game::listening(&format!("{} guilds | m!help", guild_count))); - // ctx.set_game(Game::playing("w.help | v0.1.0")); - ctx.set_game(Game::playing(&*format!("w.help | v{}", env!("CARGO_PKG_VERSION")))); + ctx.set_game(Game::playing("w.help | v0.1.2")); + // ctx.set_game(Game::playing(&*format!("w.help | v{}", + // option_env!("CARGO_PKG_VERSION").unwrap_or("0.1.0")))); info!("Caching complete."); } |