remove +R, add +B on connect
add .iframe command
This commit is contained in:
parent
c36569d33d
commit
1dac1571e2
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user