From 6f215d3065164303aae8a913a5a90dd157b7482d Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 4 Nov 2020 18:18:00 -0800 Subject: 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 --- src/core/handler.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/core/handler.rs') 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."); } -- cgit v1.2.3