Skip to content

Instantly share code, notes, and snippets.

View Bluenix2's full-sized avatar

Bluenix Bluenix2

  • Sweden
  • 23:26 (UTC +02:00)
View GitHub Profile
@Bluenix2
Bluenix2 / README.md
Last active November 18, 2022 14:58
Discord Redis Cache Specification (DRC)

Discord Redis Cache Specification

This specification aims to provide interoperability between Discord cache implementations by defining the structure of the keys and type of value stored. The benefit of which is that multi-serviced bots can all take advantage of the same cache. Additionally, new implementations do not need to figure out how to structure the data as this is the defined in this specification.

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Redis Key format