diff options
| author | Leah Amelia Chen <[email protected]> | 2023-07-09 18:38:31 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-09 20:38:31 -0400 |
| commit | 445822efad6682edbe0b1e27448b997fae9564c5 (patch) | |
| tree | f95ffa8dac7845e9ee42a1a686c6e627e5a08195 /src/commands/ask.rs | |
| parent | 9b65da1265b3d6f5d38382012e6abc3936b8a45f (diff) | |
Refactors + add pin board module (#32)
* refactor according to the rules of the cone school of rustâ„¢
* Add pin board module
* cargo fmt
* More cleanups + appease clippy
Diffstat (limited to 'src/commands/ask.rs')
| -rw-r--r-- | src/commands/ask.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/ask.rs b/src/commands/ask.rs index 6188f43..b0b24f3 100644 --- a/src/commands/ask.rs +++ b/src/commands/ask.rs @@ -3,8 +3,8 @@ use serenity::builder::CreateApplicationCommand; use serenity::model::prelude::command::CommandOptionType; use serenity::model::prelude::interaction::application_command::CommandDataOption; -pub async fn run(_: &[CommandDataOption]) -> String { - utils::get_random_response().await +pub fn run(_: &[CommandDataOption]) -> String { + utils::get_random_response() } pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicationCommand { |
