diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 89a686c..1d39fa5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,6 +56,8 @@ impl EventHandler for Handler { println!("Received command interaction: {:#?}", command); let content = match command.data.name.as_str() { "ask" => commands::ask::run(&command.data.options).await, + "bottom_decode" => commands::bottom_decode::run(&command.data.options).await, + "bottom_encode" => commands::bottom_encode::run(&command.data.options).await, "copypasta" => { commands::copypasta::run(&command.data.options, command.channel_id, &ctx.http) .await @@ -85,6 +87,8 @@ impl EventHandler for Handler { let commands = GuildId::set_application_commands(&guild_id, &ctx.http, |commands| { commands .create_application_command(|command| commands::ask::register(command)) + .create_application_command(|command| commands::bottom_decode::register(command)) + .create_application_command(|command| commands::bottom_encode::register(command)) .create_application_command(|command| commands::random_teawie::register(command)) .create_application_command(|command| commands::copypasta::register(command)) }) |
