aboutsummaryrefslogtreecommitdiff
path: root/src/core/handler.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-11-04 18:18:00 -0800
committerFuwn <[email protected]>2020-11-04 18:18:00 -0800
commit6f215d3065164303aae8a913a5a90dd157b7482d (patch)
tree354192c5d093166b6681d84e7a4fe52047b9eb54 /src/core/handler.rs
parentfix: (urbandict to nsfw), (clapify, uwufy, and rate return if mention everyone) (diff)
downloaddep-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.rs5
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.");
}