Add nomad function
This commit is contained in:
parent
55ce1a2ef3
commit
e054c87db3
|
@ -0,0 +1,13 @@
|
|||
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...")
|
Loading…
Reference in New Issue