spoonbot
spoonbot copied to clipboard
the bot should let scripters have finer grained control over how it replies
Each bridge might have a number of reply mechanisms - for example, the IRC bridge would let the bot reply to a speaker via the public channel or via private message.
One of way of achieving this would be to change the return parameter from the inline function in the command.
command "update me", fn(speaker) -> { :msg, "an update } end
command "update all", fn(speaker) -> { :channel, "an update } end