mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Aka, Alias: Remove mentions of Alias in the Aka documentation, and explain Alias is deprecated
This commit is contained in:
parent
49eef1cd7d
commit
21657f31ee
@ -498,10 +498,8 @@ class AkaHTTPCallback(httpserver.SupyHTTPServerCallback):
|
|||||||
|
|
||||||
|
|
||||||
class Aka(callbacks.Plugin):
|
class Aka(callbacks.Plugin):
|
||||||
"""Aka is the improved version of the Alias plugin. It stores akas outside
|
"""This plugin allows users to define aliases to commands and combinations
|
||||||
of the bot.conf, which doesn't have risk of corrupting the bot.conf file
|
of commands (via nesting)."""
|
||||||
(this often happens when there are Unicode issues). Aka also
|
|
||||||
introduces multi-worded akas."""
|
|
||||||
|
|
||||||
def __init__(self, irc):
|
def __init__(self, irc):
|
||||||
self.__parent = super(Aka, self)
|
self.__parent = super(Aka, self)
|
||||||
|
@ -236,7 +236,10 @@ def makeNewAlias(name, alias):
|
|||||||
|
|
||||||
class Alias(callbacks.Plugin):
|
class Alias(callbacks.Plugin):
|
||||||
"""This plugin allows users to define aliases to commands and combinations
|
"""This plugin allows users to define aliases to commands and combinations
|
||||||
of commands (via nesting)."""
|
of commands (via nesting).
|
||||||
|
This plugin is only kept for backward compatibility, you should use the
|
||||||
|
built-in Aka plugin instead (you can migrate your existing aliases using
|
||||||
|
the 'importaliasdatabase' command."""
|
||||||
def __init__(self, irc):
|
def __init__(self, irc):
|
||||||
self.__parent = super(Alias, self)
|
self.__parent = super(Alias, self)
|
||||||
self.__parent.__init__(irc)
|
self.__parent.__init__(irc)
|
||||||
|
Loading…
Reference in New Issue
Block a user