Giter VIP home page Giter VIP logo

bot's People

Watchers

 avatar  avatar

Forkers

arteombalanuta

bot's Issues

private messages from HC don't indicate if user is mod

When relaying a message from the hc chat server, the connector should embed all available user data for the sender in the packet.
On private messages relayed by the connector, the isMod user field is always false even if the user is mod.
Public messages do not have that issue.

Problem might come from the HC relay if the user information it provides is not enough to pair the sender with a known user correctly.

Problem might come from the connector if for some reason it handles private messages differently.

Dismiss failing clients?

When the connector fails to dispatch a message to a client, either remove the client immediately or implement a backoff algorithm.

Manage overlapping commands between clients

Right now, if two clients define the same command name and/or alias, both of them will have the possibility to execute it.
While this can be mitigated by disabling the command in one of the client's config, there should be a way to make it so only one client can use the command.

One solution would be to implement a first come first served algorithm.
Another would be to implement a load balancer.

Hot reload configuration

Reload configuration without restarting the process/container/pod when it changes on the filesystem.

If at all possible keep the commands state intact. Would imply either tracking which configuration property they use or adding an update method to the commands API so they can handle the change themselves

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.