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

https://github.com/peterthehan/discord-bot-core-client

Core client for create-discord-bot.
https://github.com/peterthehan/discord-bot-core-client

bot discord discord-bot discordjs framework nodejs template widget

Last synced: about 1 year ago
JSON representation

Core client for create-discord-bot.

Awesome Lists containing this project

README

          

# Discord Bot Core Client

[![Discord](https://discord.com/api/guilds/258167954913361930/embed.png)](https://discord.gg/WjEFnzC) [![Twitter Follow](https://img.shields.io/twitter/follow/peterthehan.svg?style=social)](https://twitter.com/peterthehan)

Core client for create-discord-bot.

## Getting started

```
npm i discord-bot-core-client
```

## Example

```ts
// src/index.ts

import "dotenv/config";
import path from "path";
import { CoreClient } from "discord-bot-core-client";

const client = new CoreClient({
token: process.env.DISCORD_BOT_TOKEN as string,
});

client.registerBotsIn(path.resolve(__dirname, "bots")).start();
```