Created
November 29, 2013 11:25
-
-
Save nikolak/7704440 to your computer and use it in GitHub Desktop.
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
from plugin import CommandPlugin | |
class test(CommandPlugin): | |
self.add_commands({"test":self.test()}) | |
def test(self, user, channel, parameters): | |
print "executing test command" | |
self.bot.msg(channel, "Test") | |
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
[Core] | |
Name = test plugin | |
Module = test | |
[Documentation] | |
Description = Test plugin | |
Author = Nikola | |
Version = 0.1 | |
Website = na |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment