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)
|
@irc3.event(irc3.rfc.CONNECTED)
|
||||||
def connected(bot, srv, me, data):
|
def connected(bot, srv, me, data):
|
||||||
bot.mode(me, '+R')
|
bot.mode(me, '+B')
|
||||||
|
|
||||||
|
|
||||||
class Admin(Plugin):
|
class Admin(Plugin):
|
||||||
|
|
|
@ -451,6 +451,15 @@ class Useless(DatabasePlugin):
|
||||||
"""
|
"""
|
||||||
self.bot.action(target, 'wünscht einen tollen schwulmo an alle :********')
|
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):
|
def husbando_waifu(self, field: str, mask: IrcString, target: IrcString, args: Dict):
|
||||||
nick = args.get('<nick>', mask.nick)
|
nick = args.get('<nick>', mask.nick)
|
||||||
if isinstance(nick, list):
|
if isinstance(nick, list):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user