aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-04 15:54:43 +0100
committerGravatar jesopo2019-09-04 15:54:43 +0100
commit62faf62b82ef65b0391ec770da46ecbf2b12ec09 (patch)
tree9c1f4ddc1fd42b06b6ad58bca6426442e0806d17 /modules
parentadd which.py - closes #134 (diff)
signature
add !grab as an alias of !quotegrab
Diffstat (limited to 'modules')
-rw-r--r--modules/quotes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/quotes.py b/modules/quotes.py
index fa8d5e96..a50363bd 100644
--- a/modules/quotes.py
+++ b/modules/quotes.py
@@ -106,6 +106,7 @@ class Module(ModuleManager.BaseModule):
else:
event["stderr"].write("There are no quotes for this category")
+ @utils.hook("recieved.command.grab", alias_of="quotegrab")
@utils.hook("received.command.quotegrab", min_args=1, channel_only=True)
def quote_grab(self, event):
line = event["target"].buffer.find_from(event["args_split"][0])