Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I'm not very well at the minute so I'll update when I can, Sorry about that.

Rudder Ruddernation-Designs

💭
I'm not very well at the minute so I'll update when I can, Sorry about that.
View GitHub Profile
View tc-room-info
elif cmd == prefix + 'room':
threading.Thread(target=self.do_room_info, args=(cmd_arg,)).start()
def do_room_info(self, room):
"""
Shows info about a tinychat room.
:param room: str tinychat room.
"""
View tinybot.py
# -*- coding: utf-8 -*-
import logging
import re
import threading
import pinylib
import util.media_manager
from page import privacy
from apis import youtube, soundcloud, lastfm, other, locals_
__version__ = '6.1.5'
View Tinychat user data grabber
The code below is now redundant as Tinychat now allows all domains to use the login data and is saved in a cookie meaning you no longer need the Autoop or Prohash codes to be mod/pro in a chat room.
<script>(function(){
if (window.location.host != "tinychat.com") {
alert('Collecting required data from Tinychat, Please be patient.');
window.location = "chatroom-url";
} else {
if(document.body.innerHTML.search("autoop") > 0 && document.body.innerHTML.search("avatarhash") > 0 && document.body.innerHTML.search("account:")) {
var autoop = document.body.innerHTML.substr(document.body.innerHTML.search("autoop")+9,32);
var avatarhash = document.body.innerHTML.substr(document.body.innerHTML.search("avatarhash")+13,32);