Giter VIP home page Giter VIP logo

gateway's People

Contributors

aelxxs avatar appellation avatar devyukine avatar gelbpunkt avatar infinitytmbots avatar satoufuyuki avatar soumil-07 avatar xdimgg avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

gateway's Issues

Guild, channel, role cache

How does the gateway handle this, if at all? Discord bots generally need information about the relevant guilds, channels, and roles, in order to do the appropriate permission checking. With a broker like this, it's necessary to store this information in an external cache (eg. Redis) to avoid losing the information upon the consumer reconnecting, since it's only provided by Discord at shard connect time (as part of the GUILD_CREATE events). Is there a solution for this in the Spectacles ecosystem at the moment?

Add a support for state cache

Like there will be cache on redis about each server member and cache will be updated by discord events like guildmember add/remove/update - Which can allow us to bypass the the special intent feature introduce by discord as of we just fetch data from our cache and get any member details or there presence data ;)

Issues Existing Compression Algorithm

The currently used ZSTD compression has been causing issues parsing insanely large (but essential) data from the web-socket. My bot has a guild with more than 400 channels and complex permission setup. The server data received via guildCreate event triggered on Ready was being trimmed no matter what.

  • I tried raising the read and write limits of the websocket. Didn't resolve the issue
  • Tried switching to accepting zlib encoding and changed the compression to zlib algorithm and this resolved the issue.

Perhaps an option in the gateway.toml to select the compression algorithm? Or a complete switch to zlib? Any of the above, I'll be more than happy to open a pull request with the changes.

stdout as a broker

The gateway should log on stderr and leave stdout for JSON output by the gateway.

Support environment variables in config

It's fairly annoying to use a config file with Docker (either with volumes or a custom image with the config copied in), so we should support config through environment variables so users can configure the gateway directly from CLI or Docker Compose file.

Documentation

I'm interested in using this for my bot, and making my own library for it that simulates JDA.
Problem is, where's the documentation?

Just a simple listing of what the spec is relating to RabbitMQ would go a long way.

Not logging any events

image
I typed out a message join voice channel tried every events as mentioned but that didn't worked

Actions

We just got approved for GitHub Actions, so we should add actions to automatically build and publish releases.

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.