mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-04 08:59:23 +01:00
commands.py: Sort the items of the wrappers dictionary
(just to make it readable) Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
169aee3bc0
commit
2fa0f6dedc
102
src/commands.py
102
src/commands.py
@ -575,61 +575,61 @@ def getText(irc, msg, args, state):
|
|||||||
raise IndexError
|
raise IndexError
|
||||||
|
|
||||||
wrappers = ircutils.IrcDict({
|
wrappers = ircutils.IrcDict({
|
||||||
'id': getId,
|
|
||||||
'ip': getIp,
|
|
||||||
'int': getInt,
|
|
||||||
'index': getIndex,
|
|
||||||
'color': getIrcColor,
|
|
||||||
'now': getNow,
|
|
||||||
'url': getUrl,
|
|
||||||
'email': getEmail,
|
|
||||||
'httpUrl': getHttpUrl,
|
|
||||||
'long': getLong,
|
|
||||||
'float': getFloat,
|
|
||||||
'nonInt': getNonInt,
|
|
||||||
'positiveInt': getPositiveInt,
|
|
||||||
'nonNegativeInt': getNonNegativeInt,
|
|
||||||
'letter': getLetter,
|
|
||||||
'haveOp': getHaveOp,
|
|
||||||
'expiry': getExpiry,
|
|
||||||
'literal': getLiteral,
|
|
||||||
'to': getTo,
|
|
||||||
'nick': getNick,
|
|
||||||
'seenNick': getSeenNick,
|
|
||||||
'channel': getChannel,
|
|
||||||
'inChannel': inChannel,
|
|
||||||
'onlyInChannel': onlyInChannel,
|
|
||||||
'nickInChannel': nickInChannel,
|
|
||||||
'networkIrc': getNetworkIrc,
|
|
||||||
'callerInGivenChannel': callerInGivenChannel,
|
|
||||||
'plugin': getPlugin,
|
|
||||||
'boolean': getBoolean,
|
|
||||||
'lowered': getLowered,
|
|
||||||
'anything': anything,
|
|
||||||
'something': getSomething,
|
|
||||||
'filename': getSomething, # XXX Check for validity.
|
|
||||||
'commandName': getCommandName,
|
|
||||||
'text': getText,
|
|
||||||
'glob': getGlob,
|
|
||||||
'somethingWithoutSpaces': getSomethingNoSpaces,
|
|
||||||
'capability': getSomethingNoSpaces,
|
|
||||||
'channelDb': getChannelDb,
|
|
||||||
'hostmask': getHostmask,
|
|
||||||
'banmask': getBanmask,
|
|
||||||
'user': getUser,
|
|
||||||
'matches': getMatch,
|
|
||||||
'public': public,
|
|
||||||
'private': private,
|
|
||||||
'otherUser': getOtherUser,
|
|
||||||
'regexpMatcher': getMatcher,
|
|
||||||
'validChannel': validChannel,
|
|
||||||
'regexpReplacer': getReplacer,
|
|
||||||
'owner': owner,
|
|
||||||
'admin': admin,
|
'admin': admin,
|
||||||
|
'anything': anything,
|
||||||
|
'banmask': getBanmask,
|
||||||
|
'boolean': getBoolean,
|
||||||
|
'callerInGivenChannel': callerInGivenChannel,
|
||||||
|
'capability': getSomethingNoSpaces,
|
||||||
|
'channel': getChannel,
|
||||||
|
'channelDb': getChannelDb,
|
||||||
'checkCapability': checkCapability,
|
'checkCapability': checkCapability,
|
||||||
'checkChannelCapability': checkChannelCapability,
|
'checkChannelCapability': checkChannelCapability,
|
||||||
'op': getOp,
|
'color': getIrcColor,
|
||||||
|
'commandName': getCommandName,
|
||||||
|
'email': getEmail,
|
||||||
|
'expiry': getExpiry,
|
||||||
|
'filename': getSomething, # XXX Check for validity.
|
||||||
|
'float': getFloat,
|
||||||
|
'glob': getGlob,
|
||||||
'halfop': getHalfop,
|
'halfop': getHalfop,
|
||||||
|
'haveOp': getHaveOp,
|
||||||
|
'hostmask': getHostmask,
|
||||||
|
'httpUrl': getHttpUrl,
|
||||||
|
'id': getId,
|
||||||
|
'inChannel': inChannel,
|
||||||
|
'index': getIndex,
|
||||||
|
'int': getInt,
|
||||||
|
'ip': getIp,
|
||||||
|
'letter': getLetter,
|
||||||
|
'literal': getLiteral,
|
||||||
|
'long': getLong,
|
||||||
|
'lowered': getLowered,
|
||||||
|
'matches': getMatch,
|
||||||
|
'networkIrc': getNetworkIrc,
|
||||||
|
'nick': getNick,
|
||||||
|
'nickInChannel': nickInChannel,
|
||||||
|
'nonInt': getNonInt,
|
||||||
|
'nonNegativeInt': getNonNegativeInt,
|
||||||
|
'now': getNow,
|
||||||
|
'onlyInChannel': onlyInChannel,
|
||||||
|
'op': getOp,
|
||||||
|
'otherUser': getOtherUser,
|
||||||
|
'owner': owner,
|
||||||
|
'plugin': getPlugin,
|
||||||
|
'positiveInt': getPositiveInt,
|
||||||
|
'private': private,
|
||||||
|
'public': public,
|
||||||
|
'regexpMatcher': getMatcher,
|
||||||
|
'regexpReplacer': getReplacer,
|
||||||
|
'seenNick': getSeenNick,
|
||||||
|
'something': getSomething,
|
||||||
|
'somethingWithoutSpaces': getSomethingNoSpaces,
|
||||||
|
'text': getText,
|
||||||
|
'to': getTo,
|
||||||
|
'url': getUrl,
|
||||||
|
'user': getUser,
|
||||||
|
'validChannel': validChannel,
|
||||||
'voice': getVoice,
|
'voice': getVoice,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user