0.1.1 • Published 2 years ago
discord-bot-server v0.1.1
Discord DiscordBot Server
It is an easy-to-use discord.js library
import { createDiscordBot } from 'discord-bot-server';
createDiscordBot({
token: YOUR_DISCORD_BOT_TOKEN,
clientId: YOUR_CLIENT_ID,
controllerConfig: {
prefix: '~',
},
controllers: [
{
command: 'hello',
description: 'Say, Hello!',
action: ({ message }) => {
message.channel.send('Hello, World!');
},
},
],
})
.then(() => {
console.log('✅ SUCCESSES');
})
.catch(console.error);
Installation
$ npm install discord-bot-server
0.1.1
2 years ago
0.1.0
2 years ago
0.0.20
2 years ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago