This commit is contained in:
mrhanky 2017-05-28 13:30:16 +02:00
parent b47fd91f54
commit 95e89535cc
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8
8 changed files with 1 additions and 10 deletions

View File

@ -9,7 +9,6 @@ from irc3.utils import IrcString
from . import MODULE, Plugin from . import MODULE, Plugin
# noinspection PyUnusedLocal
@command(permission='admin', show_in_help_list=False) @command(permission='admin', show_in_help_list=False)
def reload(bot: IrcBot, mask: IrcString, channel: IrcString, args: DocoptDict): def reload(bot: IrcBot, mask: IrcString, channel: IrcString, args: DocoptDict):
"""Reloads a plugin or the whole bot """Reloads a plugin or the whole bot

View File

@ -10,7 +10,6 @@ from . import Plugin
from ..utils import fmt from ..utils import fmt
# noinspection PyUnusedLocal
@irc3.plugin @irc3.plugin
class Bitcoin(Plugin): class Bitcoin(Plugin):
requires = ['irc3.plugins.command'] requires = ['irc3.plugins.command']

View File

@ -10,7 +10,6 @@ from . import Plugin
from ..utils import fmt from ..utils import fmt
# noinspection PyUnusedLocal
@irc3.plugin @irc3.plugin
class CTCP(Plugin): class CTCP(Plugin):
requires = ['irc3.plugins.async', requires = ['irc3.plugins.async',

View File

@ -12,7 +12,6 @@ class McManiac(DatabasePlugin):
requires = ['irc3.plugins.command', requires = ['irc3.plugins.command',
'nxy.plugins.database'] 'nxy.plugins.database']
# noinspection PyUnusedLocal
@command(options_first=True) @command(options_first=True)
def mcmaniac(self, mask: IrcString, channel: IrcString, args: DocOptDict): def mcmaniac(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Get a random McManiaC or by index. """Get a random McManiaC or by index.

View File

@ -17,7 +17,6 @@ class Quotes(DatabasePlugin):
NICK_REGEX = re.compile(r'<?[~&@%+]?([a-zA-Z0-9_\-^`|\\\[\]{}]+)>?') NICK_REGEX = re.compile(r'<?[~&@%+]?([a-zA-Z0-9_\-^`|\\\[\]{}]+)>?')
# noinspection PyUnusedLocal
@command(options_first=True) @command(options_first=True)
def q(self, mask: IrcString, channel: IrcString, args: DocOptDict): def q(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Get, add or delete quots for a user """Get, add or delete quots for a user

View File

@ -24,7 +24,6 @@ class Tell(DatabasePlugin):
self.tell_queue[user] = [] self.tell_queue[user] = []
self.tell_queue[user].append(res) self.tell_queue[user].append(res)
# noinspection PyUnusedLocal
@command @command
def tell(self, mask: IrcString, channel: IrcString, args: DocOptDict): def tell(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Saves a message for nick to forward on activity """Saves a message for nick to forward on activity

View File

@ -22,7 +22,6 @@ GNU_LINUX = """I'd Just Like To Interject For A Moment. What you're referring
OS as defined by POSIX.""" OS as defined by POSIX."""
# noinspection PyUnusedLocal
@irc3.plugin @irc3.plugin
class Useless(Plugin): class Useless(Plugin):
requires = ['irc3.plugins.command'] requires = ['irc3.plugins.command']
@ -73,8 +72,7 @@ class Useless(Plugin):
%%kiss <nick> %%kiss <nick>
""" """
return fmt('(づ。◕‿‿◕。)づ{color}{red}。。・゜゜・。。・゜❤{reset} {nick} ' return fmt('(づ。◕‿‿◕。)づ{color}{red}。。・゜゜・。。・゜❤{reset} {nick} '
'{color}{red}', '{color}{red}', nick=args['<nick>'])
nick=args['<nick>'])
@command @command
def hug(self, mask: IrcString, channel: IrcString, def hug(self, mask: IrcString, channel: IrcString,

View File

@ -18,7 +18,6 @@ class Weather(Plugin):
def __init__(self, bot: irc3.IrcBot): def __init__(self, bot: irc3.IrcBot):
super().__init__(bot) super().__init__(bot)
# noinspection PyUnusedLocal
@command @command
def weather(self, mask: IrcString, channel: IrcString, args: DocOptDict): def weather(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Saves a message for nick to forward on activity """Saves a message for nick to forward on activity