From 6f983f20925e6c1b95649f221fb9fd419a44f025 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 21 Apr 2014 09:45:23 -0700 Subject: Add MessageInfo class (still needs a ton of work). --- core/messageinfo.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/messageinfo.rb (limited to 'core/messageinfo.rb') diff --git a/core/messageinfo.rb b/core/messageinfo.rb new file mode 100644 index 0000000..4499bdc --- /dev/null +++ b/core/messageinfo.rb @@ -0,0 +1,14 @@ +module Dinobot + module Core + class MessageInfo + attr_accessor :user, :channel, :message, :response + + def initialize(user, channel, message) + @user = user + @channel = channel + @message = message + @response = [] + end + end + end +end -- cgit v1.2.3-70-g09d2