summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
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 22a71db..af47e6b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -72,6 +72,7 @@ impl EventHandler for Handler {
let content = match command.data.name.as_str() {
"ask" => commands::ask::run(&command.data.options).await,
"bottom" => commands::bottom::run(&command.data.options).await,
+ "convertto" => commands::convert::run(&command.data.options).await,
"copypasta" => {
commands::copypasta::run(&command.data.options, command.channel_id, &ctx.http)
.await
@@ -110,6 +111,7 @@ impl EventHandler for Handler {
commands
.create_application_command(|command| commands::ask::register(command))
.create_application_command(|command| commands::bottom::register(command))
+ .create_application_command(|command| commands::convert::register(command))
.create_application_command(|command| commands::random_lore::register(command))
.create_application_command(|command| commands::random_teawie::register(command))
})