diff options
| author | seth <[email protected]> | 2023-06-28 13:41:00 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-06-28 13:41:00 -0400 |
| commit | 33c8fc7bdc1d299301a9713cefdf85f27a1b7b69 (patch) | |
| tree | ff83d8c5daf474a4dbf3d45d348057ffbfb8eaff /src/main.rs | |
| parent | ca089aadb68dd403ecb4c371994b0a5d40d3778b (diff) | |
feat: add convertto commands
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
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)) }) |
