Skip to content

arifistifik/TheGoddamnChatbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the README for TheGoddamnChatbot.

What is this?, you ask. It's the Goddamn Chatbot, that's what!

Getting this code to work

For starters, you're going to need to meet a few dependencies:

The dependencies.py script can tell you which modules you're missing. It also patches some old-style classes in the pyxmpp module. Once it reports that everything is in order, you should be able to run cb_repl.py and experiment with the triggers.

To actually run chatbot in a MUC room, edit the constants in config to point to your room and server.

Playing with this code

  • The easiest (but least fun) thing to play with is cb_repl.py.
    • It provides a REPL-like environment for running chatbot's trigger commands.
    • Note that not all of them will work outside of the chatroom context.
  • Load up chatbot by running bot.py
  • Load an evalbot by running evalbot.py
    • Warning! Very little security is in place. Use with discretion.
  • Load an auto-responding Shakespeare bot with shakespeare.py
  • Load a clone of someone in your Pidgin logs with clone.py
  • Chat from the comfort of your terminal with cli.py

About

A chatbot framework+implementation for XMPP-based MUC room chats and IRC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%