From ba28694c3d7506917076b6aa4fb8fee3df7295cb Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 5 Aug 2018 18:49:42 +0000 Subject: [PATCH] Rename credits --- wtf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wtf.py b/wtf.py index 9326e17..49876be 100644 --- a/wtf.py +++ b/wtf.py @@ -55,7 +55,7 @@ class WtfDB(yaboli.Database): db.execute("UPDATE acronyms SET deleted = 1 WHERE acronym_id = ?", (acronym_id,)) class Wtf: - SHORT_DESCRIPTION = "A database of explanations for words, acronyms and initialisms" + SHORT_DESCRIPTION = "a database of explanations for words, acronyms and initialisms" DESCRIPTION = ( "'wtf' is a database of explanations for words, acronyms and initialisms." " It is inspired by the linux wtf program and uses its acronyms," @@ -67,7 +67,7 @@ class Wtf: "!wtf detail - shows more info about the term's explanations\n" "!wtf delete - delete explanation with corresponding id (look up the id using !wtf detail)\n" ) - CREDITS = "Created by @Garmy using github.com/Garmelon/yaboli\n" + AUTHOR = "Created by @Garmy using github.com/Garmelon/yaboli\n" RE_IS = r"\s*is\s+(\S+)\s*" RE_ADD = r"\s*add\s+(\S+)\s+(.*)" @@ -145,7 +145,7 @@ class Wtf: class WtfBot(yaboli.Bot): SHORT_HELP = Wtf.SHORT_DESCRIPTION - LONG_HELP = Wtf.DESCRIPTION + Wtf.COMMANDS + Wtf.CREDITS + LONG_HELP = Wtf.DESCRIPTION + Wtf.COMMANDS + Wtf.AUTHOR def __init__(self, nick, wtfdbfile, cookiefile=None): super().__init__(nick, cookiefile=cookiefile)