🏡 index : ~doyle/dave.git

author Jordan Doyle <jordan@doyle.wf> 2017-07-22 23:38:44.0 +01:00:00
committer Jordan Doyle <jordan@doyle.wf> 2017-07-22 23:38:44.0 +01:00:00
commit
3fa32cd825a83ac8e7fb8d2f7b34148cc1db874d [patch]
tree
d2c81b1b6eae38a9bed6dd814293e071d38d3a06
parent
7ed1271e6da2ed7670242068e450147b78d83f53
download
3fa32cd825a83ac8e7fb8d2f7b34148cc1db874d.tar.gz

typo



Diff

 dave/module.py       | 2 +-
 dave/modules/tell.py | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dave/module.py b/dave/module.py
index fe62396..626f072 100644
--- a/dave/module.py
+++ a/dave/module.py
@@ -85,7 +85,7 @@


def always_run():
    """Decorate a function to always run it, even when over prioritied"""
    """Decorate a function to always run it, even when over prioritised"""
    def add_attribute(function):
        function.always_run = True
        return function
diff --git a/dave/modules/tell.py b/dave/modules/tell.py
index 6849904..afbb22a 100644
--- a/dave/modules/tell.py
+++ a/dave/modules/tell.py
@@ -16,7 +16,6 @@


@dave.module.match(r"(.*)")
@dave.module.priority(dave.module.Priority.HIGHEST)
@dave.module.always_run()
def check_msgs(bot, args, sender, source):
    msgs = dave.config.redis.lrange("tell:{}".format(sender.lower()), 0, -1)