aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-01-17 00:28:57 -0500
committerCara Salter <cara@devcara.com>2022-01-17 00:28:57 -0500
commit7d868aedd1147c484d82ea4815c5c53af834eacb (patch)
treee83b519d8c2dced7fc08e2c0278607e220d17785
parent4c804b3a85e2eee6dffc5a2bf0545814aaa12b95 (diff)
downloadglitch-ng-7d868aedd1147c484d82ea4815c5c53af834eacb.tar.gz
glitch-ng-7d868aedd1147c484d82ea4815c5c53af834eacb.zip
meta: Update about command0.4.0
also increment version
-rw-r--r--Cargo.toml2
-rw-r--r--contrib/_incr_version8
-rw-r--r--src/commands/meta.rs13
3 files changed, 19 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 44b16bc..6d9e0c4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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
{