Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
/ PinkiePyBot Public archive
forked from sbp/phenny

Python IRC bot remixed for Canternet, the Pony IRC. Based on mutantmonkey's Python 3 fork.

Notifications You must be signed in to change notification settings

LilianaKinsley/PinkiePyBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pinkie

This is a port of phenny, a Python IRC bot, to Python3. It has been forked from mutantmonkey's phenny port.

New features include many new modules, IPv6 and TLS support (which requires Python 3.2).

Compatibility with existing phenny modules has been mostly retained, but they will need to be updated to run on Python3 if they do not already. All of the core modules have been ported.

Requirements

pinkie runs on a Ubuntu 12.04 LTS server and therefore doesn't get tested on other platforms*. You will need the latest version of Python 3.2 (which can be installed with sudo apt-get install python3-all python3-all-dev). Due to a new feature of lists, it is recommended that Python 3.3 or later be used if you use the new bestpony.py module. It is not required, but highly recommended. We thankfully no longer require the use of lxml or BeautifulSoup thanks to the JSON APIs of several sites.

  • pinkie can run on Windows as long as Python 3.2 or later is installed. It's recommended to use the lastest version of Python to avoid the issues described above.

Installation

  1. Run ./pinkie - this creates a default config file
  2. Edit ~/.pinkie/default.py
  3. Run ./pinkie - this now runs pinkie with your settings

Enjoy!

Already using PinkiePyBot and upgrading?

New changes to some configuration options may mean you need to edit your default.py file to include new options.

rule34.py users:

# works like the channels config option, but defines what channels NSFW 
# material can be searched for. See rule34.py for more details
nsfw = ['#nsfw-example','#my-test-channel']

Module developers:

# set to True to output detailed info about the actual traffic to and from the IRC server
debug = False

All users:

# ignore these users. At the moment, the ignore is exact, but admin.py 
# has new commands to change config options at run time
user_ignore = ['anon','abuser']

Authors

About

Python IRC bot remixed for Canternet, the Pony IRC. Based on mutantmonkey's Python 3 fork.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%