Code Monkey home page Code Monkey logo

discokit's Introduction

discokit's People

Contributors

github-actions[bot] avatar lukadev-0 avatar

Watchers

 avatar

discokit's Issues

@discokit/gateway โ€” Sends and receive events from the gateway

The ability to interact with the Discord gateway is an important functionality in Discord bots.

  • Hello & Identify
  • Heartbeats
    • Sending & acknowledging heartbeats
    • Handling Heartbeat requests (opcode 1)
  • Reconnecting & Resuming
    • Reconnect (opcode 7)
    • Invalid Session (opcode 9)
  • Request guild members
  • Voice
  • Presence
  • Caching resources
  • Dispatch (opcode 0)
    • Hello
    • Ready
    • Resumed
    • Reconnect
    • Invalid Session
    • Application Command Permissions Update
    • Auto Moderation Rule Create
    • Auto Moderation Rule Update
    • Auto Moderation Rule Delete
    • Auto Moderation Action Execution
    • Channel Create
    • Channel Update
    • Channel Delete
    • Channel Pins Update
    • Thread Create
    • Thread Update
    • Thread Delete
    • Thread List Sync
    • Thread Member Update
    • Thread Members Update
    • Guild Create
    • Guild Update
    • Guild Delete
    • Guild Audit Log Entry Create
    • Guild Ban Add
    • Guild Ban Remove
    • Guild Emojis Update
    • Guild Stickers Update
    • Guild Integrations Update
    • Guild Member Add
    • Guild Member Remove
    • Guild Member Update
    • Guild Members Chunk
    • Guild Role Create
    • Guild Role Update
    • Guild Role Delete
    • Guild Scheduled Event Create
    • Guild Scheduled Event Update
    • Guild Scheduled Event Delete
    • Guild Scheduled Event User Add
    • Guild Scheduled Event User Remove
    • Integration Create
    • Integration Update
    • Integration Delete
    • Interaction Create
    • Invite Create
    • Invite Delete
    • Message Create
    • Message Update
    • Message Delete
    • Message Delete Bulk
    • Message Reaction Add
    • Message Reaction Remove
    • Message Reaction Remove All
    • Message Reaction Remove Emoji
    • Presence Update
    • Stage Instance Create
    • Stage Instance Update
    • Stage Instance Delete
    • Typing Start
    • User Update
    • Voice State Update
    • Voice Server Update
    • Webhooks Update

@discokit/cache โ€” Caching layer for resources

@discokit/cache will handle caching for resources fetched from @discokit/rest or received from @discokit/gateway.

There would be multiple caches for different resources, like guilds, guild channels, users, etc. Each cache is an LRU cache with TTL.

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.