Installation
npm install @conductr/core
yarn install @conductr/core
pnpm install @conductr/core
Example usage
```ts
import { Conductr, GenericReceiver } from '@conductr/core';
new Conductr({
applicationId: process.env.DISCORD_APPLICATION_ID,
token: process.env.DISCORD_TOKEN
})
.registerCommandAndComponents(COMMANDS)
.registerCommandAndComponents(COMPONENTS)
.registerReceiver(new GenericReceiver(handler => {
discord.on('interactionCreate', handler);
}));
// the receiver should be used to proccess the interactions
// the receiver is designed to take in interactions from
// anything such as a http server, message queue, or a discord client
```
Additional documentation and examples are in progress...