diff --git a/plugins/rip.py b/plugins/rip.py index 97b823a..80fca13 100644 --- a/plugins/rip.py +++ b/plugins/rip.py @@ -17,3 +17,20 @@ def rip(inp, say=None): headstone = [top, rip, nmr, lsr, btm] for l in headstone: say(l) + +@hook.command +def bread(inp, say=None): + inp = str(inp) + topfiller = str.center('', len(inp)-1, '-') + + top = ' .' + topfiller + '-.\n' + + width = len(top)-3 + + rip = ' |' + str.center('', width) + '|\n' + nmr = ' |' + str.center(inp.upper(), width) + '|\n' + lsr = ' |' + str.center('', width, '_') + '|\n' + + headstone = [top, rip, nmr, lsr] + for l in headstone: + say(l)