Wikinews:Tech/Pitsilemu/config.py
When downloading Pitsilemu as tarball or from SVN, you'll see a file named config.sample.py.
Instructions
edit- Open it with your favourite text editor.
- You'll see:
# -*- coding: utf-8 -*- # Rename this file to config.py after configuring the bot parameters nombre="BOTNAME" clave="" canales=["CHANNELS"] pro="w" #wikiproject idi="es" #wikilanguage sug="sug.txt"
- Replace:
- nombre="BOTNAME" with the name of your bot. Example: nombre="Pitsilemu"
- clave="" with the password of your bot (if registered with NickServ). Example: clave="HELLO"
- canales=["CHANNELS"] with the channels your bot will join. Example: canales=["#pitsilemu, #wikinews"]
- pro="w" with the project you want to work with. Example, if you will work on Wikibooks, use pro="n"
- idi="es" with the language of the bot you'll work. Example, if the channel is in Malayalam, use idi="ml"
- Don't edit sug="sug.txt"