diff --git a/nxy/plugins/admin.py b/nxy/plugins/admin.py index 6c4b969..3152514 100644 --- a/nxy/plugins/admin.py +++ b/nxy/plugins/admin.py @@ -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 diff --git a/nxy/plugins/bitcoin.py b/nxy/plugins/bitcoin.py index 5a27af3..a8f3358 100644 --- a/nxy/plugins/bitcoin.py +++ b/nxy/plugins/bitcoin.py @@ -10,7 +10,6 @@ from . import Plugin from ..utils import fmt -# noinspection PyUnusedLocal @irc3.plugin class Bitcoin(Plugin): requires = ['irc3.plugins.command'] diff --git a/nxy/plugins/ctcp.py b/nxy/plugins/ctcp.py index d3c99a7..ae34280 100644 --- a/nxy/plugins/ctcp.py +++ b/nxy/plugins/ctcp.py @@ -10,7 +10,6 @@ from . import Plugin from ..utils import fmt -# noinspection PyUnusedLocal @irc3.plugin class CTCP(Plugin): requires = ['irc3.plugins.async', diff --git a/nxy/plugins/mcmaniac.py b/nxy/plugins/mcmaniac.py index 23de7d7..7fa65e4 100644 --- a/nxy/plugins/mcmaniac.py +++ b/nxy/plugins/mcmaniac.py @@ -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. diff --git a/nxy/plugins/quotes.py b/nxy/plugins/quotes.py index c3c36be..4b7733c 100644 --- a/nxy/plugins/quotes.py +++ b/nxy/plugins/quotes.py @@ -17,7 +17,6 @@ class Quotes(DatabasePlugin): NICK_REGEX = re.compile(r'?') - # noinspection PyUnusedLocal @command(options_first=True) def q(self, mask: IrcString, channel: IrcString, args: DocOptDict): """Get, add or delete quots for a user diff --git a/nxy/plugins/tell.py b/nxy/plugins/tell.py index 56c5b32..beb10d8 100644 --- a/nxy/plugins/tell.py +++ b/nxy/plugins/tell.py @@ -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 diff --git a/nxy/plugins/useless.py b/nxy/plugins/useless.py index 063d580..6a3bf3b 100644 --- a/nxy/plugins/useless.py +++ b/nxy/plugins/useless.py @@ -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 """ return fmt('(づ。◕‿‿◕。)づ{color}{red}。。・゜゜・。。・゜❤{reset} {nick} ' - '{color}{red}❤', - nick=args['']) + '{color}{red}❤', nick=args['']) @command def hug(self, mask: IrcString, channel: IrcString, diff --git a/nxy/plugins/weather.py b/nxy/plugins/weather.py index 67c49a0..3dcdcc3 100644 --- a/nxy/plugins/weather.py +++ b/nxy/plugins/weather.py @@ -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