Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mallusrgreatv2/djs-context


https://github.com/mallusrgreatv2/djs-context

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# DJS Context

This package helps you create a combination of a chat input command interaction and a message. You can use properties available to both of them.

```ts
const { Context } = require("@mallusrgreat/djs-context");
// or
import { Context } from "@mallusrgreat/djs-context";

client.on("messageCreate", (msg) => {
const context = new Context(msg);
handlePingCommand(context);
});
```