User:Lowercase sigmabot II/Source.py: Difference between revisions

Content deleted Content added
Updating source) (bot
Updating source) (bot
Line 1:
Source as of 0309:4937, 2028 MarchDecember 2014 (UTC).
 
== Sandbot1.py ==
Line 27:
 
import ceterach
from ceterach import passwords
 
import mwparserfromhell as mwparser
Line 112:
 
import ceterach
from ceterach import passwords
 
reset_text = "{{subst:Sandbox reset}}"
Line 167:
# will clear the box regardless.
print("Done with sleeping, clearing {!r}".format(box.title))
self.api.login("Lowercase sigmabot II", ceterach.passwords.lcsb2)
self.api.set_token("edit")
text = tpl_reset_text if box.namespace == 10 else reset_text