summaryrefslogtreecommitdiffstats
path: root/Reaktor/titlebot
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-07-17 12:08:48 +0200
committermakefu <root@pigstarter.de>2014-07-17 12:08:48 +0200
commitc0dca71a57107834355be17d49ff859c82eeef17 (patch)
tree4384a33c9feb51b1ddd3e69e5767cba098eb2e39 /Reaktor/titlebot
parent02428fc848cde3e5317e8115b48bb8d946a04e78 (diff)
titlebot: add top command
Diffstat (limited to 'Reaktor/titlebot')
-rwxr-xr-xReaktor/titlebot/commands/help1
l---------Reaktor/titlebot/commands/top1
-rw-r--r--Reaktor/titlebot/titlebot.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/Reaktor/titlebot/commands/help b/Reaktor/titlebot/commands/help
index f04e43b7..fcc9b535 100755
--- a/Reaktor/titlebot/commands/help
+++ b/Reaktor/titlebot/commands/help
@@ -4,6 +4,7 @@ BGT Title Poll Bot:
.new TITLE - suggest a new title
.list <(age|votes)> - list all suggestions
.highest <NUM> - lists the NUM highest voted suggestions
+ .top <NUM> - alias for .highest
.up NUM (NUM ...) - upvote one or more suggestions from .list
.undo NUM (NUM ...) - undo an upvote
.clear - clear the poll (auth required)
diff --git a/Reaktor/titlebot/commands/top b/Reaktor/titlebot/commands/top
new file mode 120000
index 00000000..8f25670b
--- /dev/null
+++ b/Reaktor/titlebot/commands/top
@@ -0,0 +1 @@
+highest \ No newline at end of file
diff --git a/Reaktor/titlebot/titlebot.py b/Reaktor/titlebot/titlebot.py
index 41717484..325fda53 100644
--- a/Reaktor/titlebot/titlebot.py
+++ b/Reaktor/titlebot/titlebot.py
@@ -61,6 +61,7 @@ public_commands = [
titlebot_cmd('list'),
titlebot_cmd('help'),
titlebot_cmd('highest'),
+ titlebot_cmd('top'),
titlebot_cmd('up'),
titlebot_cmd('new'),
titlebot_cmd('undo'),