# -*- coding: utf-8 -*- from irc3.plugins.command import command import irc3 @irc3.plugin class Plugin: def __init__(self, bot): self.bot = bot @command(permission='view') def b33p(self, mask, target, args): """b33p an irc b0t, it should b00p back %%b33p ... """ robostep='{}: b00p'.format(mask.nick) roooboot = ''.join(args['']) if roooboot == self.bot.nick: self.bot.privmsg(target,robostep)