Revision 21a7eaf9
Added by Marc Dequènes over 13 years ago
- ID 21a7eaf9331ab26b1c1d5ff7173c4b248f6a2967
lib/cyborghood/cyborg/conversation.rb | ||
---|---|---|
@action_id = @conv_thread.next_action_id if @action_id.nil?
|
||
@conv_thread.conversation.send_message(self)
|
||
@sent = true
|
||
|
||
# return message (convenience)
|
||
self
|
||
end
|
||
|
||
def create_reply(action_code, parameters = nil)
|
||
... | ... | |
MAXIMUM_ERROR_COUNT = 3
|
||
MAXIMUM_LINES = 1024
|
||
|
||
attr_reader :bot, :peer_name, :peer_capabilities
|
||
attr_reader :bot, :peer_name, :peer_capabilities, :protocol
|
||
|
||
def initialize(bot, block = nil)
|
||
@bot = bot
|
Also available in: Unified diff
[evol] conversation/bot protocol rework §8 (refs #30): preliminary client-side protocol handling