remove +R, add +B on connect

add .iframe command
This commit is contained in:
jkhsjdhjs 2018-12-10 16:04:59 +00:00
parent c36569d33d
commit 1dac1571e2
2 changed files with 10 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def reload(bot: Bot, mask: IrcString, target: IrcString, args: Dict):
@irc3.event(irc3.rfc.CONNECTED)
def connected(bot, srv, me, data):
bot.mode(me, '+R')
bot.mode(me, '+B')
class Admin(Plugin):

View File

@ -451,6 +451,15 @@ class Useless(DatabasePlugin):
"""
self.bot.action(target, 'wünscht einen tollen schwulmo an alle :********')
@command
def iframe(self, mask: IrcString, target: IrcString, args: Dict):
"""ddoses someone with an iframe!
%%iframe [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'starts a low skilled, fuuuf like iframe ddos attack on {0}'.format(nick, nick))
def husbando_waifu(self, field: str, mask: IrcString, target: IrcString, args: Dict):
nick = args.get('<nick>', mask.nick)
if isinstance(nick, list):