Introduction

SlashDeno

Current version Open issues GitHub pull requests

A client to interact with the Discord Interactions API in Deno.\

Import the module:

Using jsDelivr:

import {
  InteractionsClient,
  SlashCommand
} from "https://cdn.jsdelivr.net/gh/code913/[email protected]/lib/index.ts";

Test the module:

Clone the repo to a folder:

git clone https://github.com/code913/SlashDeno.git

cd to the folder

Edit the file test.ts and place your application id, bot token, etc in the appropriate location. Run deno run --allow-all test.ts and you should see a sample command in your guild

Last updated

Was this helpful?