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.
- Host: GitHub
- URL: https://github.com/peterthehan/discord-bot-core-client
- Owner: peterthehan
- Created: 2021-08-02T00:49:20.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T07:45:56.000Z (over 3 years ago)
- Last Synced: 2025-02-01T03:31:54.234Z (over 1 year ago)
- Topics: bot, discord, discord-bot, discordjs, framework, nodejs, template, widget
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/discord-bot-core-client
- Size: 742 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Discord Bot Core Client
[](https://discord.gg/WjEFnzC) [](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();
```