Repository
Current version released
3 years ago
Dependencies
Discord Interactions
Deno library to handle Discord Interactions via http.
Example
import { interactions, message } from "https://deno.land/x/discordinteractions/mod.ts";
import { serve } from "https://deno.land/std/http/server.ts";
const client = interactions({
publicKey: "<YOUR_PUBLIC_KEY>"
})
.slash("test", (i) => message({ content: `Hello ${i.member?.user.username}!` }));
serve(client.handle);