Skip to main content

write_preference

Function write_preference 

Source
pub fn write_preference(
    text: &str,
    reason: &str,
    deny_mention: &People,
    deny_reply_to: &People,
) -> Result<UserRule>
Expand description

Write one prose rule. It is not also posted to the seat pack.

ยงErrors

The text or the reason is empty, a handle is not a login, or the file cannot be written.