Giter VIP home page Giter VIP logo

tinychatbot's People

Contributors

odsum avatar technetium1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tinychatbot's Issues

How to autoban/autokick specific words, characters, and long trailing whitespaces.

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 give someone admin rights to bot?

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.

!greet command

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?

Push to Talk

Creates a weird endless Loop when talking to the Hub, will kill your memory if not killed.

Pickledb.py edit.

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.

Connect to pickledb

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.

What am I missing

tinychatboterror

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\

Websocket address is no longer static.

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.

CAPCHA ISSUE. WON'T CONNECT

[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.

Question

whats the best way to make it so only certain usernames can do badn and noguest

Captcha.

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?

Bot Logins in but dont mod itself

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?

Issue with running tinybot

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?

!banw

Ban word isnt working! it dont add it

Captcha

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.

Connection error.

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?

spam.py

Module needs to be completely rewritten. spam.py.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.