diff --git a/source/birchwood/client/core.d b/source/birchwood/client/core.d index 669af7e..6c4da7b 100644 --- a/source/birchwood/client/core.d +++ b/source/birchwood/client/core.d @@ -160,6 +160,8 @@ public struct ConnectionInfo } } +// TODO: Make abstract and for unit tests make a `DefaultClient` +// ... which logs outputs for the `onX()` handler functions public class Client : Thread { /* Connection information */ @@ -1197,6 +1199,12 @@ public class Client : Thread Thread.sleep(dur!("seconds")(2)); client.command(new Message("", "PRIVMSG", "deavmi naai")); + + /** + * Test sending a message to a channel + */ + client.channelMessage("This is a test message sent to a channel", ["#birchwood"]); + /* TODO: Add a check here to make sure the above worked I guess? */ /* TODO: Make this end */ // while(true)