File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change 1
- This is the source for the SerenityOS Discord Bot.
1
+ This is the source for the Ladybird Discord Bot.
2
2
3
3
### Setup
4
4
5
- The bot is written in [ TypeScript] ( https://www.typescriptlang.org ) , ` nodejs ` and ` yarn ` are pre-requisites .
5
+ The bot is written in [ TypeScript] ( https://www.typescriptlang.org ) , ` bun ` is a pre-requisite .
6
6
7
7
Then setup your environment:
8
8
9
9
```
10
- $ git clone https://github.com/SerenityOS /discord-bot
10
+ $ git clone https://github.com/LadybirdBrowser /discord-bot
11
11
$ cd discord-bot
12
- $ yarn install
13
- $ yarn build
12
+ $ bun install
13
+ $ bun start
14
14
```
15
15
16
16
### Configuration
@@ -23,15 +23,11 @@ guild_id=<your-guild-id-goes-here>
23
23
```
24
24
See: https://www.writebots.com/discord-bot-token/
25
25
26
- Now you can run ` yarn start:dev` and the bot will startup, and then restart as you save changes to the source files:
26
+ Now you can run ` bun start:dev` and the bot will startup, and then restart as you save changes to the source files:
27
27
```
28
- $ yarn start:dev
29
- [nodemon] 2.0.7
30
- [nodemon] to restart at any time, enter `rs`
31
- [nodemon] watching path(s): src/**/*
32
- [nodemon] watching extensions: ts,js
33
- [nodemon] starting `ts-node ./src/index.ts`
34
- Buggie bot has started
28
+ ❯ bun start:dev
29
+ $ bun --watch ./src/index.ts
30
+ Logged in as Ladybird Bot#6714.
35
31
```
36
32
37
33
### Running Tests
You can’t perform that action at this time.
0 commit comments