From 3d15092e79fe3ff7cb750bc8e8692967c1da40f8 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Sat, 15 Oct 2016 01:07:25 +0100 Subject: [PATCH] Revert "Try !-prefixed commands" This reverts commit 1c579353badf4ee781a95c63729dff483a9cb999. --- handlers/quotedb/handlers.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/handlers/quotedb/handlers.go b/handlers/quotedb/handlers.go index 194b000..3c103a8 100644 --- a/handlers/quotedb/handlers.go +++ b/handlers/quotedb/handlers.go @@ -35,7 +35,7 @@ type QuoteHandler struct { } func (h *AddQuoteHandler) Describe() (string, string) { - return "!addquote", "Add a quote to the database" + return "addquote", "Add a quote to the database" } func (h *AddQuoteHandler) Command(ctx context.Context, w hugot.ResponseWriter, m *hugot.Message) error { @@ -55,7 +55,7 @@ func (h *AddQuoteHandler) Command(ctx context.Context, w hugot.ResponseWriter, m } func (h *LastQuoteHandler) Describe() (string, string) { - return "!lastquote", "Show the last-added quote" + return "lastquote", "Show the last-added quote" } func (h *LastQuoteHandler) Command(ctx context.Context, w hugot.ResponseWriter, m *hugot.Message) error { @@ -70,7 +70,7 @@ func (h *LastQuoteHandler) Command(ctx context.Context, w hugot.ResponseWriter, } func (h *FindQuoteHandler) Describe() (string, string) { - return "!findquote", "Search for a quote by substring" + return "findquote", "Search for a quote by substring" } func (h *FindQuoteHandler) find(channel, term string) string { @@ -128,7 +128,7 @@ func (h *FindQuoteHandler) Command(ctx context.Context, w hugot.ResponseWriter, } func (h *RandQuoteHandler) Describe() (string, string) { - return "!randquote", "Show a random quote" + return "randquote", "Show a random quote" } func (h *RandQuoteHandler) Command(ctx context.Context, w hugot.ResponseWriter, m *hugot.Message) error {