teeworlds_network/integration_test/client/chat.rb

14 lines
252 B
Ruby
Raw Normal View History

2022-11-05 17:41:06 +00:00
#!/usr/bin/env ruby
# frozen_string_literal: true
2022-11-12 15:47:12 +00:00
require_relative '../../lib/teeworlds_client'
2022-11-05 17:41:06 +00:00
client = TeeworldsClient.new(verbose: false)
client.connect('localhost', 8377, detach: true)
sleep 1
client.send_chat('hello world')
client.disconnect