mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 19:14:09 +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):
|
||||
"""Aka is the improved version of the Alias plugin. It stores akas outside
|
||||
of the bot.conf, which doesn't have risk of corrupting the bot.conf file
|
||||
(this often happens when there are Unicode issues). Aka also
|
||||
introduces multi-worded akas."""
|
||||
"""This plugin allows users to define aliases to commands and combinations
|
||||
of commands (via nesting)."""
|
||||
|
||||
def __init__(self, irc):
|
||||
self.__parent = super(Aka, self)
|
||||
|
@ -236,7 +236,10 @@ def makeNewAlias(name, alias):
|
||||
|
||||
class Alias(callbacks.Plugin):
|
||||
"""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):
|
||||
self.__parent = super(Alias, self)
|
||||
self.__parent.__init__(irc)
|
||||
|
Loading…
Reference in New Issue
Block a user