Skip to content

liquidthex/AdabsurdumBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdabsurdumBot

A friendly fork of Tunebot which is a combination of several other bots (QBot, Pinychat), designed to assist Tinychat users and moderators.

Acknowledgements:

  • notnola
  • megaloler
  • qbot
  • Norm

* (Somebody else or a fix? Tell me.)


## Files

tunebot.py

A patched-on module that runs the actual bot, that is responsive in the chat room.

tinychat.py

The core module responsible for interacting with Tinychat, handling the room object, users objects, and messages.

rtmp

Handles the RTMP connection and communication, using the AMF encoder/decoder module. This is a Python remake of the original C library.


**Requirements** [ _pip install NAME_ ]: - PyAMF https://pypi.python.org/pypi/PyAMF - PySocks https://github.com/Anorov/PySocks - requests http://www.python-requests.org/en/latest/
## Command Line Arguments

The tinychat core module accepts these:

  • room=ROOM [or tinychat*ROOM]

Optional:

  • nick=NICK
  • user=USER
  • pass=PASS
  • ready=0/1          (Say something, when ready in the room.)
  • interactive=0/1   (Whether running from console or remotely.)

The tunebot module adds these optional arguments:

  • nick=NICK    (Override.)
  • bot=0/1         (Whether bot starts active in listening to user commands.)
  • greet=0/1      (A smart greeting algorithm.)

For example, run it with: python tunebot.py room=myroom user=myuser pass=mypass nick=bot


## Settings

The top directory of the bot has a settings/ directory. In the code, you can see a lot of instructions come from simple .txt files in it.

The empty files in the settings/ directory expect a link to a TXT file format. For example, do "Export as TXT" in Google Docs, and copy the download URL from your browser downloads window.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages