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/random_lore.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/random_lore.rs')
| -rw-r--r-- | src/commands/random_lore.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/random_lore.rs b/src/commands/random_lore.rs index 345f753..b07660e 100644 --- a/src/commands/random_lore.rs +++ b/src/commands/random_lore.rs @@ -2,8 +2,8 @@ use crate::utils::get_random_lore; use serenity::builder::CreateApplicationCommand; use serenity::model::prelude::interaction::application_command::CommandDataOption; -pub async fn run(_: &[CommandDataOption]) -> String { - get_random_lore().await +pub fn run(_: &[CommandDataOption]) -> String { + get_random_lore() } pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicationCommand { |
