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}: "))
|
let to_conduit = body.starts_with(&format!("{server_user}: "))
|
||||||
|| body.starts_with(&format!("{server_user} "))
|
|| body.starts_with(&format!("{server_user} "))
|
||||||
|
|| body.starts_with("!admin")
|
||||||
|| body == format!("{server_user}:")
|
|| body == format!("{server_user}:")
|
||||||
|| body == server_user;
|
|| body == server_user;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user