summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authoruku <[email protected]>2023-10-13 11:11:03 +0200
committerseth <[email protected]>2023-10-13 13:05:37 -0400
commit05e0831f7926dd4afda8e72c6ea5aa7a466b6bea (patch)
treea6e3a4b8c8c636e9d60b9c1b980e909d9b306d9d /src/main.rs
parentd8d0c15a1a6f3abd9915eb2ac6807d72aa4f3171 (diff)
add random_shiggy command
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 8a3aa94..51f0f3c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -111,6 +111,7 @@ impl EventHandler for Handler {
.await
}
"random_lore" => commands::random_lore::run(&command.data.options),
+ "random_shiggy" => commands::random_shiggy::run(&command.data.options).await,
"random_teawie" => commands::random_teawie::run(&command.data.options).await,
_ => "not implemented :(".to_string(),
};
@@ -145,6 +146,7 @@ impl EventHandler for Handler {
.create_application_command(commands::bottom::register)
.create_application_command(commands::convert::register)
.create_application_command(commands::random_lore::register)
+ .create_application_command(commands::random_shiggy::register)
.create_application_command(commands::random_teawie::register)
})
.await;