Fixed some flake8 stuff

This commit is contained in:
mrhanky 2017-05-28 13:27:40 +02:00
parent d921f0de7b
commit b47fd91f54
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8
2 changed files with 5 additions and 6 deletions

View File

@ -69,7 +69,7 @@ class Useless(Plugin):
@command
def kiss(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Kisses a user
%%kiss <nick>
"""
return fmt('(づ。◕‿‿◕。)づ{color}{red}。。・゜゜・。。・゜❤{reset} {nick} '
@ -80,7 +80,7 @@ class Useless(Plugin):
def hug(self, mask: IrcString, channel: IrcString,
args: DocOptDict) -> str:
"""Hugs a user
%%hug <nick>
"""
return fmt('{color}{red}♥♡❤♡♥{reset} {nick} {color}{red}♥♡❤♡♥',
@ -89,7 +89,7 @@ class Useless(Plugin):
@command
def hack(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Hacks (a user)
%%hack [<nick>]
"""
nick = args.get('<nick>') or ''
@ -100,7 +100,7 @@ class Useless(Plugin):
@command
def gay(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Make someone gay (alias to rainbow)
%%gay <word>...
"""
return self.rainbow(mask, channel, args)
@ -108,7 +108,7 @@ class Useless(Plugin):
@command
def rainbow(self, mask: IrcString, channel: IrcString, args: DocOptDict):
"""Colorize a word in rainbow colors
%%rainbow <word>...
"""
last = 0

View File

@ -7,7 +7,6 @@ from irc3.plugins.command import command
from irc3.utils import IrcString
from . import Plugin
from ..utils import pp
@irc3.plugin