pub async fn reply1( channel_id: ChannelId, message_id: MessageId, message: &str, context: Arc, ) -> Result> { let k = context .discord_http .create_message(channel_id) .reply(message_id) .content(message) .map_err(|e| Box::new(e))? .await; match k { Ok(m) => Ok(m), Err(e) => Err(Box::new(e)) } } pub async fn reply2( channel_id: ChannelId, message_id: MessageId, message: &str, context: Arc, ) -> Result> { context .discord_http .create_message(channel_id) .reply(message_id) .content(message) .map_err(|e| Box::new(e))? .await .map_err(|e| Box::new(e)) } pub async fn reply3( channel_id: ChannelId, message_id: MessageId, message: &str, context: Arc, ) -> Result> { context .discord_http .create_message(channel_id) .reply(message_id) .content(message) .map_err(|e| Box::new(e))? .await .map_err(|e| -> Box { Box::new(e) }) }