mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
remove some unnecessary HTML from admin commands
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
065396f8f5
commit
85890ed425
5 files changed
+16
-50
No files matched your search
@@ -21,7 +21,10 @@ pub(super) async fn uptime(&self) -> Result<RoomMessageEventContent> {
|
||||
#[admin_command]
|
||||
pub(super) async fn show_config(&self) -> Result<RoomMessageEventContent> {
|
||||
// Construct and send the response
|
||||
Ok(RoomMessageEventContent::text_plain(format!("{}", self.services.globals.config)))
|
||||
Ok(RoomMessageEventContent::text_markdown(format!(
|
||||
"```\n{}\n```",
|
||||
self.services.globals.config
|
||||
)))
|
||||
}
|
||||
|
||||
#[admin_command]
|
||||
|
||||
Reference in new issue
Block a user