Fixes #17 -- command and filter functions now need to accept a "replies" object which now presents the only way to trigger replies.
replies.add() now accepts text, filename, bytefile and chat with most of the params being optional.
Note that if bytefile is a stream, then filename needs to be a "basename" which will be used as a suggested name -- the core will modify it but usually leave prefix and suffix the same.
Fixes #17 -- command and filter functions now need to accept a "replies" object which now presents the only way to trigger replies.
replies.add()
now accepts text, filename, bytefile and chat with most of the params being optional.Note that if bytefile is a stream, then filename needs to be a "basename" which will be used as a suggested name -- the core will modify it but usually leave prefix and suffix the same.