From be622b9c533bb094dfedaf39bca7339c58e54456 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 2 Jun 2023 19:42:26 -0400 Subject: allow other servers to use most slash commands --- src/commands/copypasta.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands') 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(); } } } -- cgit v1.2.3