add !admin as way to call conduit bot

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-02-25 16:09:26 -05:00 committed by June
parent 9224e37472
commit da3297fdcb

View file

@ -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;