That would require the active key. Currently, freakazoid
only works with the posting key. In theory, you would modify lib/freakazoid/freakazoid.rb
to stream :transfer
instead of :comment
. For example:
stream.operations(:transfer) do |transfer|
next if transfer.from == account_name # no self-reply
reply(transfer)
end
Then replace reply
with something that will send a transfer with a memo containing the response from cleverbot's api.
Thanks, but is is possible to use my custom messages, randomly without cleverbots api?
What i was actually looking for was watching transfers TO a certain account name and then reply on the post written in the memo. Similar as luckyluke, but then for reply's. And if possible multiple accounts?
reply is just the text that will be posted right?
can i use multiple account names?
That's closer to what drotto does, except that the intent is to vote and provide a static reply. It might be easier to modify this instead.
But drotto, not do that i want.
I am still a beginner in editing bots.
I used this code:
stream.operations(:transfer) do |transfer|
next if transfer.to == 'booster' # no self-reply
reply(transfer) end
So when someone transfers to booster, i would like to reply a message as 'GOOD JOB!'
And thats it, what am i doing wrong?