1.0.32 • Published 10 months ago
heybox-bot v1.0.32
Quick Start
Install
cd your/project/path
npm i -g heybox-bot
heybox --init
npm i
Configuration
your/project/path/src/define.ts
import { HeyBoxBot } from 'heybox-bot';
import { CommandSource } from 'gugle-command';
import { RawData } from 'ws';
const bot: HeyBoxBot = new HeyBoxBot({ token: 'your token' }); // parse your bot token
class MyBot {
@bot.command('test', '/test')
public test(source: CommandSource) {
source.success('test');
}
}
const myBot: MyBot = new MyBot();
bot.start();
Run
cd your/project/path
npm run dev
1.0.32
10 months ago
1.0.30
10 months ago
1.0.28
10 months ago
1.0.27
10 months ago
1.0.26
10 months ago
1.0.25
10 months ago
1.0.24
11 months ago
1.0.23
11 months ago
1.0.22
11 months ago
1.0.21
11 months ago
1.0.20
11 months ago
1.0.19
11 months ago
1.0.18
11 months ago
1.0.17
11 months ago
1.0.16
11 months ago
1.0.15
11 months ago
1.0.14
11 months ago
1.0.13
11 months ago
1.0.12
11 months ago
1.0.11
11 months ago
1.0.10
11 months ago
1.0.9
11 months ago
1.0.8
11 months ago
1.0.7
11 months ago
1.0.4
11 months ago
1.0.0
11 months ago