14 lines
342 B
Python
14 lines
342 B
Python
|
import plugin
|
||
|
|
||
|
@plugin.command("minomad","<GO AWAY DINKLEBERG>")
|
||
|
def minomad(bot,channel,nick,*args):
|
||
|
if not bot.is_admin: return
|
||
|
args = list(args)
|
||
|
command = args.pop(0)
|
||
|
if command == "join":
|
||
|
for channel in args:
|
||
|
bot._bot.conn.join(channel)
|
||
|
elif command == "part":
|
||
|
for channel in args:
|
||
|
bot._bot.conn.part(channel,"Leaving...")
|