Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/util/bucket.ts

Discord API library for Deno
Go to Latest
import * as discordeno from "https://deno.land/x/discordeno@17.0.1/util/bucket.ts";

Interfaces

A Leaky Bucket. Useful for rate limiting purposes. This uses performance.now() instead of Date.now() for higher accuracy.