aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--twittperator/mstrans.tw3
1 files changed, 2 insertions, 1 deletions
diff --git a/twittperator/mstrans.tw b/twittperator/mstrans.tw
index 3527fbc..9f4a582 100644
--- a/twittperator/mstrans.tw
+++ b/twittperator/mstrans.tw
@@ -11,11 +11,12 @@
TW.SubCommands.add(
TW.SubCommand({
command: ['mstrans'],
+ description: "Translate a tweet",
action: function(arg) {
liberator.execute('mstrans ' + arg);
},
timelineComplete: true,
- completer: TW.Completers.text()
+ completer: TW.Completers.text(function(s) s.id)
})
);
})();