add !admin as way to call conduit bot
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
9224e37472
commit
da3297fdcb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue