odsum / TinyChatBot

BuddyBot - TinyChat Moderator/Room Helper Bot
Other
13 stars 6 forks source link
bot nortxort python tinychat tinychat-bot webrtc

BuddyBot

Based off Nortxort's Tinychat Bot and Pinylib.

Updates

2.4.5

2.4

2.3.2

2.2.9

Features

Road Map

3.0

Commands

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

Pinylib-RTC

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

Setting up

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.

Requirements

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

Run the client by typing python path\to\bot.py in a command prompt.

Authors

License

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.