mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-03-29 10:56:57 +01:00
Added module docstring and dawdit alias for unmorse
This commit is contained in:
parent
54e0c07a9c
commit
bf25751aa3
@ -32,7 +32,23 @@
|
|||||||
###
|
###
|
||||||
# Note the exception above the declaration of _code.
|
# Note the exception above the declaration of _code.
|
||||||
###
|
###
|
||||||
"""Module to replicate some of moobot's functionality."""
|
"""
|
||||||
|
Provides several commands that shamelessly imitate Moobot, if only to show
|
||||||
|
developers coming from Moobot how to code to Supybot.
|
||||||
|
|
||||||
|
Commands include:
|
||||||
|
cool
|
||||||
|
hi
|
||||||
|
morse
|
||||||
|
unmorse
|
||||||
|
ditdaw
|
||||||
|
dawdit
|
||||||
|
reverse
|
||||||
|
mime
|
||||||
|
unmime
|
||||||
|
stack
|
||||||
|
give
|
||||||
|
"""
|
||||||
|
|
||||||
from baseplugin import *
|
from baseplugin import *
|
||||||
|
|
||||||
@ -128,6 +144,7 @@ class Moobot(callbacks.Privmsg):
|
|||||||
irc.reply(msg, ' '.join(L))
|
irc.reply(msg, ' '.join(L))
|
||||||
|
|
||||||
ditdaw = morse
|
ditdaw = morse
|
||||||
|
dawdit = unmorse
|
||||||
|
|
||||||
def hi(self, irc, msg, args):
|
def hi(self, irc, msg, args):
|
||||||
"takes no arguments"
|
"takes no arguments"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user