teeworlds_network/integration_test/send_chat_hello.rb

14 lines
249 B
Ruby
Executable file

#!/usr/bin/env ruby
# frozen_string_literal: true
require_relative '../lib/teeworlds-client'
client = TeeworldsClient.new(verbose: false)
client.connect('localhost', 8377, detach: true)
sleep 1
client.send_chat('hello world')
client.disconnect