Created
October 26, 2011 21:36
-
-
Save AzureKitsune/1317962 to your computer and use it in GitHub Desktop.
AccelIRC.. ideas
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
public abstract class IRCBot | |
{ | |
public abstract IEnumerable<string> OnChannelMessage(string channel, string msg); | |
} | |
public class MyIRCBot : IRCBot | |
{ | |
public IEnumerable<string> OnChannelMessage(string channel, string msg) | |
{ | |
yield "Send a message to the channel."; | |
yield "Another message sent."; | |
yield "ETC."; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment