summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-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();
}
}
}