summaryrefslogtreecommitdiff
path: root/src/commands/copypasta.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-06-02 19:42:26 -0400
committerseth <[email protected]>2023-06-02 19:42:26 -0400
commitbe622b9c533bb094dfedaf39bca7339c58e54456 (patch)
tree3c02eb3eb5c23ed5ce9d78f5943f74dc8e527f89 /src/commands/copypasta.rs
parented8b784c78b759a59dbb0232e04d00604a611699 (diff)
allow other servers to use most slash commands
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 d7ec2d0..20ca144 100644
--- a/src/commands/copypasta.rs
+++ b/src/commands/copypasta.rs
@@ -28,7 +28,7 @@ pub async fn run(options: &[CommandDataOption], channel_id: ChannelId, http: &Ar
Ok(_) => continue,
Err(why) => {
println!("couldn't send message: {:?}", why);
- "something went wrong!";
+ return "something went wrong!".to_string();
}
}
}