diff --git a/plugins/Factoids.py b/plugins/Factoids.py index 1e6aef6de..0ffcb3f4f 100644 --- a/plugins/Factoids.py +++ b/plugins/Factoids.py @@ -50,7 +50,7 @@ import callbacks example = utils.wrapLines(""" @list Factoids - jemfinch: factoidinfo, learn, lock, randomfactoid, unlearn, unlock, whatis + jemfinch: factoidinfo, learn, lock, randomfactoid, forget, unlock, whatis @learn jemfinch as the primary author of supybot. jemfinch: The operation succeeded. @factoidinfo jemfinch @@ -67,13 +67,13 @@ example = utils.wrapLines(""" jemfinch: The operation succeeded. @whatis jemfinch jemfinch: jemfinch could be (#0) the primary author of supybot., or (#1) a horrible assembly programmer. - @unlearn jemfinch + @forget jemfinch jemfinch: Error: 2 factoids have that key. Please specify which one to remove. - @unlearn jemfinch 1 + @forget jemfinch 1 jemfinch: The operation succeeded. @whatis jemfinch jemfinch: jemfinch could be (#0) the primary author of supybot.. - @unlearn jemfinch 0 + @forget jemfinch 0 jemfinch: The operation succeeded. @whatis jemfinch G jemfinch: Error: No factoid matches that key. @@ -218,7 +218,7 @@ class Factoids(ChannelDBHandler, callbacks.Privmsg): else: irc.error(msg, conf.replyNoCapability % capability) - def unlearn(self, irc, msg, args): + def forget(self, irc, msg, args): """[] [|*] Removes the factoid from the factoids database. If there are