1.4.4 • Published 11 months ago

@conductr/core v1.4.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

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...

1.4.4

11 months ago

1.4.3

11 months ago

1.4.2

11 months ago

1.4.1

11 months ago

1.3.2

11 months ago

1.4.0

11 months ago

1.3.1

11 months ago

1.3.0

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago