From c0dca71a57107834355be17d49ff859c82eeef17 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 17 Jul 2014 12:08:48 +0200 Subject: titlebot: add top command --- Reaktor/titlebot/commands/help | 1 + Reaktor/titlebot/commands/top | 1 + Reaktor/titlebot/titlebot.py | 1 + 3 files changed, 3 insertions(+) create mode 120000 Reaktor/titlebot/commands/top (limited to 'Reaktor') 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 - lists the NUM highest voted suggestions + .top - 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'), -- cgit v1.2.3