Method: Mybot::Command#write

Defined in:
lib/mybot/command.rb

#write(data) ⇒ Object



45
46
47
48
# File 'lib/mybot/command.rb', line 45

def write(data)
	print_cmd! "write", data, :blue, :bold
	@channel.send_data "#{data}\n"
end