Last active
December 28, 2015 01:29
-
-
Save dkarzon/7420857 to your computer and use it in GitHub Desktop.
mmbot responses for Greg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var robot = Require<Robot>(); | |
robot.Respond(".*", msg => | |
{ | |
if (msg.Message.User.Name.ToLower().Contains("greg")) | |
{ | |
var things = new List<string> | |
{ | |
"blah blah blah", | |
"Leave me alone greg", | |
"Windmills do not work that way.", | |
"Some sort of treasure map", | |
"Do I look stupid to you?" | |
}; | |
msg.Send(msg.Random(things)); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment