odsum / tinychatbot Goto Github PK
View Code? Open in Web Editor NEWBuddyBot - TinyChat Moderator/Room Helper Bot
License: Other
BuddyBot - TinyChat Moderator/Room Helper Bot
License: Other
Hello
First off, very nice bot man. I use it in a room I moderate; however when i asked another mod to use !spam for some reason the guy whose using a spam bot in our room cannot be stopped. His bot uses specific keyboards but i cannot add certain words to autokick list, or is there any way to do this.
Also, is there a way us users can pay and help contribute to this project. I would like to donate, this has been very helpful. Very nice work once again.
How do I turn off notification that displays when a user is leaving the chatroom?
I tried !acc add admin so that I could add mods to my new room, and it said the following: "Account: insufficient privileges". The bot is logged in the room on the room owner account by the way.
I'll try to go into user.db file and edit the user level integer and see if that works. if so then I'll close this issue.
Unlike your bot, this one does show users account profile greet when they enter the room. I know you said you would fix this, so no rush. But in the meantime can I use the bot you're using, or is require different pip modules and other dependencies?
Creates a weird endless Loop when talking to the Hub, will kill your memory if not killed.
the bot definitely announces each user as they leave, but no announcement when they join. is there a way to enable a greeting and possibly their account name as well in that greeting?
Figured it out
I believe the method dexists
in pickledb.py could be written as:
def dexists(self, name, key):
if key in self.db[name]:
return True
return False
I am pretty sure that if self.db[name][key] is not None:
causes a KeyError
if the key is not in the dictionary.
How would i add AntiCaptcha Api to this?
I seem have a issues to connect a user.db not sure how to solve this issues.
When I write a command to banned a bad account. Somehow the python command is throwing a error message, I'll post a picture here.
Error message; https://i.imgur.com/KRj2HSO.png
I typed a command to banned, badaccount by @bada (account) then few mins later the bot left the room. https://i.imgur.com/7ycIOs4.png
I've looked around trying to resolve this issues.
Thanks.
Recieved this error apon starting the bot client (bot.py) I have updated pip and installed what was required to to run the bot. I currently run another bot but wanted to try this one because it looks as if its been updated. Forgive me if this is an ignorant posting. I'm still learning things, any help would be great, currently Im Running 2.7.10 Thanks. path to python is C:\python27\
https://github.com/odsum/TinyChatBot/blob/master/apis/tinychat.py#L22
This now returns the key endpoint
for which the value is the websocket server needed to connect to in
https://github.com/odsum/TinyChatBot/blob/master/pinylib.py#L130
The initial request can be made in connect()
now. Probably add a new variable like self.connect_info = None
and assign it to self.connect_info = apis.tinychat.get_connect_token(self.room_name)
within the connect()
and set the websocket address to self.connect_info['endpoint']
. The actual token being self.connect_info['result']
get_connect_token()
of course, only returning response['json']
now.
[09:54:16] Unknown command: captcha {u'req': 1, u'tc': u'captcha', u'key': u'6Lfg5x4UAAAAADk1zOokp1zPPFD-WtBvpT4HXa0U'}
FOUND A QUICK WORK AROUND! SIGN THE BOT IN WITH A DIFFERENT ACCOUNT.
The Bot is no longer banning anything on the List of Banned Names,Accounts,Strings
whats the best way to make it so only certain usernames can do badn and noguest
Captcha is nearly impossible to bypass. Possible to have the script open the browser in order to solve the captcha, removing the long process of trying to bypass the captcha?
you can log in but when logging in with a mod account it dont make the bot mod.... the bot is a regular user but you can view the profile hes logged in correctly guess its not grabbing the mod auth?
When I attempt to run the tinybot in the command prompt, it says: "python: can't open file 'path\to\bot_.py': [Errno 2] No such file or directory"
How do I go about fixing this?
Ban word isnt working! it dont add it
Was there ever a solid workaround for the Captcha? I am certain I've seen a script open a browser window to allow you to solve it and then continue running the script.
If you can offer any hints on how I might get this working I would be very appreciative.
The Bot modules seem to run together with no issues. However it crashes. I have all the dependencies installed with PIP. This is an issue not picked up by IDLE. Can someone confirm there bot still works? and if modifications were made recently. What were they?
Module needs to be completely rewritten. spam.py.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.