From 759a85ee7881418f736b683ba3ecd51b3efeed3c Mon Sep 17 00:00:00 2001 From: Darren Date: Thu, 22 Feb 2018 14:23:03 +0000 Subject: [PATCH] client.Message => IrcMessage helper getter --- src/client.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client.js b/src/client.js index edfdf36f..3517fc4f 100644 --- a/src/client.js +++ b/src/client.js @@ -26,6 +26,10 @@ module.exports = class IrcClient extends EventEmitter { default_transport = transport; } + get Message() { + return IrcMessage; + } + _applyDefaultOptions(user_options) { var defaults = { nick: 'ircbot',