mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
add !admin as way to call conduit bot
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -529,6 +529,7 @@ impl Service {
|
||||
|
||||
let to_conduit = body.starts_with(&format!("{server_user}: "))
|
||||
|| body.starts_with(&format!("{server_user} "))
|
||||
|| body.starts_with("!admin")
|
||||
|| body == format!("{server_user}:")
|
||||
|| body == server_user;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user