v2.666
This commit is contained in:
parent
2fbf002ee3
commit
0bd543b7de
@ -21,6 +21,7 @@ class Plugin:
|
||||
self.mode="dupe"
|
||||
self.mode=""
|
||||
self.enforcing=False
|
||||
self.token=012345678901234567
|
||||
return
|
||||
self.color=""
|
||||
if self.mode=="core": self.color="\x0304"
|
||||
@ -122,7 +123,7 @@ class Plugin:
|
||||
if kw['event']=='JOIN':
|
||||
self.bot.privmsg("maple",f"joined {target}".lower())
|
||||
if target!=self.home:
|
||||
if enforcing:
|
||||
if self.enforcing:
|
||||
reason=".[d]."
|
||||
self.bot.part(target,reason)
|
||||
self.bot.privmsg("maple",f"parted {target} - {reason}".lower())
|
||||
|
Loading…
Reference in New Issue
Block a user