aboutsummaryrefslogtreecommitdiff
path: root/core/messageinfo.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-21 09:45:23 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-21 09:45:23 -0700
commit6f983f20925e6c1b95649f221fb9fd419a44f025 (patch)
tree904d301a0a99a1e18502b9e8d66361ea44a04c6b /core/messageinfo.rb
parent805b500bc1e12a8f6680737bef81ae34492c9187 (diff)
downloaddinobot-6f983f20925e6c1b95649f221fb9fd419a44f025.tar.gz
dinobot-6f983f20925e6c1b95649f221fb9fd419a44f025.tar.xz
Add MessageInfo class (still needs a ton of work).
Diffstat (limited to 'core/messageinfo.rb')
-rw-r--r--core/messageinfo.rb14
1 files changed, 14 insertions, 0 deletions
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