aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/wikipedia.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/wikipedia.py b/modules/wikipedia.py
index 1697aa92..cf7e44ca 100644
--- a/modules/wikipedia.py
+++ b/modules/wikipedia.py
@@ -6,7 +6,8 @@ URL_WIKIPEDIA = "https://en.wikipedia.org/w/api.php"
class Module(ModuleManager.BaseModule):
@utils.hook("received.command.wi", alias_of="wiki")
- @utils.hook("received.command.wiki", min_args=1)
+ @utils.hook("received.command.wiki", alias_of="wikipedia")
+ @utils.hook("received.command.wikipedia", min_args=1)
def wikipedia(self, event):
"""
:help: Get information from wikipedia