Giter VIP home page Giter VIP logo

Comments (4)

kharidiron avatar kharidiron commented on August 27, 2024

This is due to the way IRC implements the MockPlayer object: MockPlayers do not have an actual factory.connection instance in the player_manager. Because they don't, things like .local and .universe don't make any sense, and cause the wrapper to throw this error.

I'll need to revisit how MockPlayer objects are generated in order to resolve this... which I'm going to put off on, for now. I'll try handling this better in 1.1

from starrypy3k.

kharidiron avatar kharidiron commented on August 27, 2024

Quick-fix is probably good enough. I still need to work on the MockPlayer connection, but I think that your fix is sufficient for closing this issue.

from starrypy3k.

dopeghoti avatar dopeghoti commented on August 27, 2024

Sounds good to me; I figure once MockPlayer is robust enough to handle remotely issued commands (e. g /kick) from IRC, this band-aid can be ripped off, or the whitelist of IRC-parsed commands expanded.

from starrypy3k.

kharidiron avatar kharidiron commented on August 27, 2024

eh.. I'm less inclined to allow /kick from IRC since it will be a pain in the a** to handle permission controls. This bot isn't that smart, and I feel like it is better if it stays that way. I'd rather give a well-restricted web GUI for handling these sorts of issues.

from starrypy3k.

Related Issues (20)

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.