diff options
author | Cara Salter <cara@devcara.com> | 2022-01-17 00:28:57 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-01-17 00:28:57 -0500 |
commit | 7d868aedd1147c484d82ea4815c5c53af834eacb (patch) | |
tree | e83b519d8c2dced7fc08e2c0278607e220d17785 | |
parent | 4c804b3a85e2eee6dffc5a2bf0545814aaa12b95 (diff) | |
download | glitch-ng-21b8ea02287522876da8aee86fc03ab8c43a725c.tar.gz glitch-ng-21b8ea02287522876da8aee86fc03ab8c43a725c.zip |
meta: Update about command0.4.0
also increment version
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | contrib/_incr_version | 8 | ||||
-rw-r--r-- | src/commands/meta.rs | 13 |
3 files changed, 19 insertions, 4 deletions
@@ -1,6 +1,6 @@ [package] name = "glitch-ng" -version = "0.1.0" +version = "0.4.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contrib/_incr_version b/contrib/_incr_version new file mode 100644 index 0000000..c2ded2c --- /dev/null +++ b/contrib/_incr_version @@ -0,0 +1,8 @@ +#!/bin/sh -eu +old_version="$1" +new_version="$2" +sed -i "s/version = \"$old_version\"/version = \"$new_version\"/" Cargo.toml + + +git add Cargo.toml +git commit -m "Update version to $new_version" diff --git a/src/commands/meta.rs b/src/commands/meta.rs index 917fbfe..681d5a5 100644 --- a/src/commands/meta.rs +++ b/src/commands/meta.rs @@ -18,10 +18,17 @@ pub async fn about(ctx: Context<'_>) -> Result<(), Error> { .send(|m| { m.embed(|e| { e.title("Glitch"); + e.description("A pony who just wants to help out!"); - e - }); - m + e.field("Creator", "<@118455061222260736>", true); + e.field("Avatar", "<@678816040146436117>", true); + e.field("Action GIFs", "<@678816040146436117>", true); + e.field("Support the author!", "https://ko-fi.com/muirrum", false); + + e.footer(|f| { + f.text(format!("Running version: {}", current_version)) + }) + }) }) .await { |