sendfile <file_path>
- sends the file specified by the relative file path
file_pathas an attachment
savefile <file_path>
To use this command, the user must first send the desired file as an attachment on Messenger while fbash is running.
- saves the file most recently sent by the user at the relative file path specified by
file_path - does not currently work with images
showcode <file_path> [language]
- displays the file specified by the relative file path
file_pathwith syntax highlighting specified bylanguage. Iflanguageis not specified, the file extension will be used to attempt to determine the language. - the file will only appear highlighted if viewed on messenger.com
/set <setting> <value>
- sets the value of the setting
settingtovalue
| Setting | Description | Default |
|---|---|---|
| periodReplacement | Periods in the fbash response are replaced with this to bypass facebook's spam detection | . |
authorize
- enables all users on a thread to send commands to fbash through that thread
unauthorize
- undoes
authorize
Authorization commands may cause unexpected results if multiple users on a thread are running fbash