- Original developer - NotNola
- Edited - SwiftSwathSee
Pinychat is a Python module and client that allows you to easily interface with Tinychat.
Features:
- command-line arguments,
- room logging,
- mod actions,
- public/private messages,
- user ignoring, dummy cams etc.
-
Python 2.7 (preferrably)
-
# pip install requests # pip install colorama
All arguments optional, the library can be initialised without these (pertinent information will be asked on startup).
Shorthand (quick mode): tinychat.py NICK ROOM
Full: tinychat.py -r ROOM -n NICK -u USERNAME -p PASSWORD -c COLOR
ROOM
may also be a Tinychat.com room URL.
See the commands section.
This is currently very limited, but you can see the bot.py
example. Only a small subset of the module's features are available.
Usage: /command [options]
. Use the ?
option to see a full list of a commands features.
pm [user] [message]
: send a PM to a usernick [nick]
: set your nickdelay [options]
: delay your messagesalert [command] [phrase]
: get alerts when a phrase is mentionedsay [message]
: say message (this is the default command if no command is used)color [color]
: set your color (note: this is mostly useless, since Tinychat no longer has nick colors)what
: print the current room and your nickpublish
: open your cam (close withclose
)
topic [topic]
: set room topicadminsay
(ora
)[adminmessage]
: say admin messageban [user]
: ban a userforgive [user]
: unban a userforgivename [user]
: unban a user and display banlistbanlist
: print banlistclose [user]
: close a cam
list
: print user listuserinfo [user]
orwhois
: get account name for a userignore [user]
: ignore a userunignore [user]
: unignore a user
playyoutube
(oryt
)[URL]
: play video from URL or view last-played videostopyoutube
playsoundcloud
(orsc
)[URL]
: play track from URL or view last-played trackstopsoundcloud
/
: reset window title (useful for clearing alerts)time [timeformat]
: set time formattitle [title]
: set window titlenotifications
(ornotes
)[setting]
: toggle notifications display or set on/offlog
: open chatlog in external editor (see textEditor setting)sys [shell command]
: runs a shell commandquit
reconnect
You can optionally configure the module via the pinychat.ini
file. See settings.md for the details.
Want to contribute? Feel free to make pull requests and issues at your convenience, or contact me at [email protected]!
Thanks to the people who have helped make this project possible either by submitting pull requests, helping in the reversing process, or just with raw support. If you create a pull requests and it gets approved, please feel free to add your name to this list!
- swiftSwathSee
- James Koss
- Lord Gaben
- Aida
- Todo's in the code should be first priority,
- integrate old bot and extension back into the library,
- allow bots to use all module features,
- write better debug code,
- add better comments / clean up code base,
- add/complete PEP8 tweaks to the code.
Library: