summaryrefslogtreecommitdiff
path: root/src/commands/copypasta.rs
diff options
context:
space:
mode:
authorLeah Amelia Chen <[email protected]>2023-07-09 18:38:31 -0600
committerGitHub <[email protected]>2023-07-09 20:38:31 -0400
commit445822efad6682edbe0b1e27448b997fae9564c5 (patch)
treef95ffa8dac7845e9ee42a1a686c6e627e5a08195 /src/commands/copypasta.rs
parent9b65da1265b3d6f5d38382012e6abc3936b8a45f (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/copypasta.rs')
-rw-r--r--src/commands/copypasta.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/copypasta.rs b/src/commands/copypasta.rs
index ec3f3c6..670a5df 100644
--- a/src/commands/copypasta.rs
+++ b/src/commands/copypasta.rs
@@ -18,7 +18,7 @@ pub async fn run(options: &[CommandDataOption], channel_id: ChannelId, http: &Ar
.expect(err_msg);
if let CommandDataOptionValue::String(copypasta) = option {
- let replies = utils::get_copypasta(copypasta).await;
+ let replies = utils::get_copypasta(copypasta);
if replies.len() > 1 {
for reply in replies {