generate fmt::Display for Config
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -22,8 +22,8 @@ pub(super) async fn uptime(&self) -> Result<RoomMessageEventContent> {
|
||||
pub(super) async fn show_config(&self) -> Result<RoomMessageEventContent> {
|
||||
// Construct and send the response
|
||||
Ok(RoomMessageEventContent::text_markdown(format!(
|
||||
"```\n{}\n```",
|
||||
self.services.globals.config
|
||||
"{}",
|
||||
self.services.server.config
|
||||
)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user