Fixed some flake8 stuff
This commit is contained in:
parent
d921f0de7b
commit
b47fd91f54
@ -69,7 +69,7 @@ class Useless(Plugin):
|
|||||||
@command
|
@command
|
||||||
def kiss(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
def kiss(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
||||||
"""Kisses a user
|
"""Kisses a user
|
||||||
|
|
||||||
%%kiss <nick>
|
%%kiss <nick>
|
||||||
"""
|
"""
|
||||||
return fmt('(づ。◕‿‿◕。)づ{color}{red}。。・゜゜・。。・゜❤{reset} {nick} '
|
return fmt('(づ。◕‿‿◕。)づ{color}{red}。。・゜゜・。。・゜❤{reset} {nick} '
|
||||||
@ -80,7 +80,7 @@ class Useless(Plugin):
|
|||||||
def hug(self, mask: IrcString, channel: IrcString,
|
def hug(self, mask: IrcString, channel: IrcString,
|
||||||
args: DocOptDict) -> str:
|
args: DocOptDict) -> str:
|
||||||
"""Hugs a user
|
"""Hugs a user
|
||||||
|
|
||||||
%%hug <nick>
|
%%hug <nick>
|
||||||
"""
|
"""
|
||||||
return fmt('{color}{red}♥♡❤♡♥{reset} {nick} {color}{red}♥♡❤♡♥',
|
return fmt('{color}{red}♥♡❤♡♥{reset} {nick} {color}{red}♥♡❤♡♥',
|
||||||
@ -89,7 +89,7 @@ class Useless(Plugin):
|
|||||||
@command
|
@command
|
||||||
def hack(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
def hack(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
||||||
"""Hacks (a user)
|
"""Hacks (a user)
|
||||||
|
|
||||||
%%hack [<nick>]
|
%%hack [<nick>]
|
||||||
"""
|
"""
|
||||||
nick = args.get('<nick>') or ''
|
nick = args.get('<nick>') or ''
|
||||||
@ -100,7 +100,7 @@ class Useless(Plugin):
|
|||||||
@command
|
@command
|
||||||
def gay(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
def gay(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
||||||
"""Make someone gay (alias to rainbow)
|
"""Make someone gay (alias to rainbow)
|
||||||
|
|
||||||
%%gay <word>...
|
%%gay <word>...
|
||||||
"""
|
"""
|
||||||
return self.rainbow(mask, channel, args)
|
return self.rainbow(mask, channel, args)
|
||||||
@ -108,7 +108,7 @@ class Useless(Plugin):
|
|||||||
@command
|
@command
|
||||||
def rainbow(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
def rainbow(self, mask: IrcString, channel: IrcString, args: DocOptDict):
|
||||||
"""Colorize a word in rainbow colors
|
"""Colorize a word in rainbow colors
|
||||||
|
|
||||||
%%rainbow <word>...
|
%%rainbow <word>...
|
||||||
"""
|
"""
|
||||||
last = 0
|
last = 0
|
||||||
|
@ -7,7 +7,6 @@ from irc3.plugins.command import command
|
|||||||
from irc3.utils import IrcString
|
from irc3.utils import IrcString
|
||||||
|
|
||||||
from . import Plugin
|
from . import Plugin
|
||||||
from ..utils import pp
|
|
||||||
|
|
||||||
|
|
||||||
@irc3.plugin
|
@irc3.plugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user