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
# noinspection PyUnusedLocal
@command(permission='admin', show_in_help_list=False)
def reload(bot: IrcBot, mask: IrcString, channel: IrcString, args: DocoptDict):
"""Reloads a plugin or the whole bot

View File

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

View File

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

View File

@ -12,7 +12,6 @@ class McManiac(DatabasePlugin):
requires = ['irc3.plugins.command',
'nxy.plugins.database']
# noinspection PyUnusedLocal
@command(options_first=True)
def mcmaniac(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""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_\-^`|\\\[\]{}]+)>?')
# noinspection PyUnusedLocal
@command(options_first=True)
def q(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""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].append(res)
# noinspection PyUnusedLocal
@command
def tell(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""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."""
# noinspection PyUnusedLocal
@irc3.plugin
class Useless(Plugin):
requires = ['irc3.plugins.command']
@ -73,8 +72,7 @@ class Useless(Plugin):
%%kiss <nick>
"""
return fmt('(づ。◕‿‿◕。)づ{color}{red}。。・゜゜・。。・゜❤{reset} {nick} '
'{color}{red}',
nick=args['<nick>'])
'{color}{red}', nick=args['<nick>'])
@command
def hug(self, mask: IrcString, channel: IrcString,

View File

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