Based off Nortxort's Tinychat Bot and Pinylib.
2.4
2.3.2
!verobose - to enable or disable the bot from showing respones for cmds in chat
!allowcam - No one is allowed to cam up
!acc - New account manager
!tokes/!cheers mins - Countdown, !tokes or !cheers to join in
!vote - !voteban cam/ban account, !vote for yes if there is 5 votes.
!vip - Allow only users with accounts in bot to join the room
Custom Users welcome messages, !acc add account verified Welcome Message
2.2.9
Multiple Room Support
Spam Protection updates based on testing
Bot reconnect to TinyChat after disconnect
Spam: Kick/ban flood pool for lockdown mode so bot doesn't flood out
Spam Protection
User System
9 - Banned account
8 - Camban
7 - guest
6 - has account not verified
5 - verified/whitelist user
4 - Chatmod
3 - Regular Mod
2 - Chatadmin
Dj Mode
3.0
Verified Accounts:
Media Cmds: !yt, !close, !seek, !reset, !spl, !del, !skip, !yts, !rpl, !pause, !play, !pyst
Chatmods and !mod tmp users:
Mod Cmds: !clr, !camban, !kick, !ban, !cam, !close, !banw <badword>,!rmw <badword>, !badn <nick>, !acc, !+tmod, !-tmod, !verobose, !allowcam, !spam, !vote
Mods and Admins:
Admin Cmds: !lockdown (noguests), !lockup(password enabled), !noguest, !p2t, !+mod, !-mod
Other cmds: !urb, !8ball, !flip, !roll, !whoplayed, !now, !status, !chuck, !wea, !cheers, !tokes
Account Management:
!acc add odsum mod/admin/verified my welcome greeting
!acc del odsum
!acc camban odsum smokes on cam
!acc ban odsum reason of ban
WebRTC module for tinychat chat rooms.
This is the WebRTC version of pinylib. The structure and the coding style is the same as the original pinylib. Since tinychat is still in beta stage, this version should also be seen as a sort of beta version.
It was based on the POC by notnola
Examples shown here, assumes you are using windows.
pinylib-rtc was developed using python 2.7.10 so this is the recomended python interpreter. Later versions of python should work to, aslong as they are from the 2.7 family. I have not tested it with python 3, but with a few changes to client.py i think it would be possible.
pinylib-rtc requires 4 libraries that are not part of the standard python library, these being:
These can all be installed form a command prompt with pip.
pip install websocket-client requests colorama beautifulsoup4 simplejson
Run the client by typing python path\to\bot.py
in a command prompt.
The MIT License (MIT)
Copyright (c) 2018 Notnola Copyright (c) 2018 Nortxort Copyright (c) 2018 Odsum
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.