Commit graph

10 commits

Author SHA1 Message Date
ChillerDragon 771bdfe859 Holy sh*t this lib is actually usable 2022-11-05 11:07:16 +01:00
ChillerDragon 1d3076e34b Break api hook_chat -> on_chat 2022-11-05 09:39:16 +01:00
ChillerDragon 57dfc76588 Stabilize api yikes 2022-11-04 16:57:50 +01:00
ChillerDragon 0f9c9a0804 Proper chat message support 2022-11-04 16:26:24 +01:00
ChillerDragon 875132a03a Document more samples 2022-11-04 13:22:29 +01:00
ChillerDragon 794915942c Close connection on ctrl+c 2022-11-04 13:07:34 +01:00
ChillerDragon 24fa105f66 Do not spawn a thread by default
This allows users to implement better multi threading than me.
Or if someone just wants to fire and forget a client that should just
use the provided hooks then not detaching takes away the effort
of keeping the program running.

Imo it is an easier and more fun problem to have:

  "My client connects fine but my other ruby code does not run"

than

  "My program just quits when I run it"
2022-11-01 15:32:47 +01:00
ChillerDragon 618ac5f5e3 Was not sure if lib or full client
I guess we go for library now
2022-11-01 14:26:40 +01:00
ChillerDragon 9fc83cb327 Allow hooking in custom chat code 2022-11-01 14:25:56 +01:00
Chiller Dragon 81b8366792
Initial commit 2022-10-25 14:07:56 +02:00