0.1.1 • Published 3 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
3 years ago
0.1.0
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago