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 {