add legacy version of tenquestionmarks irc bot

This commit is contained in:
Adrian Malacoda
2017-02-04 21:13:24 -06:00
parent a3bed71cdd
commit ee0ec3f727
25 changed files with 7460 additions and 0 deletions

33
project.py Executable file
View File

@@ -0,0 +1,33 @@
#!/usr/bin/env python
from monarchpass.beedrill import Project, Action, Listener, do
class Tenquestionmarks(Project):
name = "Tenquestionmarks"
author = "Adrian Malacoda"
@Action(
title="Hello World",
command="hello"
)
def hello(self,person="world"):
print "Hello {person}!".format(person=person)
hidave = do(
action="hello",
command="hidave",
kwargs={"person": "Dave"}
)
@Action(
title="Goodbye World",
command="goodbye",
prerequisites=["hello"],
clean_directory=False
)
def goodbye(self):
print "Bye!"
@Listener(before="goodbye")
def goodbyeListener(self):
print "Listened to goodbye!"