sendfile <file_path>
- sends the file specified by the relative file path
file_path
as 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_path
with syntax highlighting specified bylanguage
. Iflanguage
is 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
setting
tovalue
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