teeworlds_network/integration_test/send_chat_hello.rb

14 lines
249 B
Ruby
Raw Normal View History

2022-11-05 17:41:06 +00:00
#!/usr/bin/env ruby
# frozen_string_literal: true
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