mirror of https://github.com/Mikaela/Limnoria.git
Changed unlearn to forget.
This commit is contained in:
parent
3625d98ed7
commit
cec0f77538
|
@ -50,7 +50,7 @@ import callbacks
|
||||||
|
|
||||||
example = utils.wrapLines("""
|
example = utils.wrapLines("""
|
||||||
<jemfinch> @list Factoids
|
<jemfinch> @list Factoids
|
||||||
<supybot> jemfinch: factoidinfo, learn, lock, randomfactoid, unlearn, unlock, whatis
|
<supybot> jemfinch: factoidinfo, learn, lock, randomfactoid, forget, unlock, whatis
|
||||||
<jemfinch> @learn jemfinch as the primary author of supybot.
|
<jemfinch> @learn jemfinch as the primary author of supybot.
|
||||||
<supybot> jemfinch: The operation succeeded.
|
<supybot> jemfinch: The operation succeeded.
|
||||||
<jemfinch> @factoidinfo jemfinch
|
<jemfinch> @factoidinfo jemfinch
|
||||||
|
@ -67,13 +67,13 @@ example = utils.wrapLines("""
|
||||||
<supybot> jemfinch: The operation succeeded.
|
<supybot> jemfinch: The operation succeeded.
|
||||||
<jemfinch> @whatis jemfinch
|
<jemfinch> @whatis jemfinch
|
||||||
<supybot> jemfinch: jemfinch could be (#0) the primary author of supybot., or (#1) a horrible assembly programmer.
|
<supybot> jemfinch: jemfinch could be (#0) the primary author of supybot., or (#1) a horrible assembly programmer.
|
||||||
<jemfinch> @unlearn jemfinch
|
<jemfinch> @forget jemfinch
|
||||||
<supybot> jemfinch: Error: 2 factoids have that key. Please specify which one to remove.
|
<supybot> jemfinch: Error: 2 factoids have that key. Please specify which one to remove.
|
||||||
<jemfinch> @unlearn jemfinch 1
|
<jemfinch> @forget jemfinch 1
|
||||||
<supybot> jemfinch: The operation succeeded.
|
<supybot> jemfinch: The operation succeeded.
|
||||||
<jemfinch> @whatis jemfinch
|
<jemfinch> @whatis jemfinch
|
||||||
<supybot> jemfinch: jemfinch could be (#0) the primary author of supybot..
|
<supybot> jemfinch: jemfinch could be (#0) the primary author of supybot..
|
||||||
<jemfinch> @unlearn jemfinch 0
|
<jemfinch> @forget jemfinch 0
|
||||||
<supybot> jemfinch: The operation succeeded.
|
<supybot> jemfinch: The operation succeeded.
|
||||||
<jemfinch> @whatis jemfinch
|
<jemfinch> @whatis jemfinch
|
||||||
G<supybot> jemfinch: Error: No factoid matches that key.
|
G<supybot> jemfinch: Error: No factoid matches that key.
|
||||||
|
@ -218,7 +218,7 @@ class Factoids(ChannelDBHandler, callbacks.Privmsg):
|
||||||
else:
|
else:
|
||||||
irc.error(msg, conf.replyNoCapability % capability)
|
irc.error(msg, conf.replyNoCapability % capability)
|
||||||
|
|
||||||
def unlearn(self, irc, msg, args):
|
def forget(self, irc, msg, args):
|
||||||
"""[<channel>] <key> [<number>|*]
|
"""[<channel>] <key> [<number>|*]
|
||||||
|
|
||||||
Removes the factoid <key> from the factoids database. If there are
|
Removes the factoid <key> from the factoids database. If there are
|
||||||
|
|
Loading…
Reference in New Issue