164 |
By default, BlazeBuild will use [Bun](https://bun.sh) to run the bot. If you want to use Node.js instead, you can run the following command: |
By default, BlazeBuild will use [Bun](https://bun.sh) to run the bot. If you want to use Node.js instead, you can run the following command: |
165 |
|
|
166 |
```bash |
```bash |
167 |
./blazew run -- --node |
./blazew run --node |
168 |
``` |
``` |
169 |
|
|
170 |
This will start the bot, and you should see the bot online in your Discord server. |
This will start the bot, and you should see the bot online in your Discord server. |
178 |
To register the application commands to the Discord API, you can run the following command: |
To register the application commands to the Discord API, you can run the following command: |
179 |
|
|
180 |
```bash |
```bash |
181 |
./blazew run -- -- -u |
./blazew run -- -u |
182 |
``` |
``` |
183 |
|
|
184 |
If you have debug mode enabled and have `HOME_GUILD_ID` set in the `.env` file, the bot will register the commands in the development guild. |
If you have debug mode enabled and have `HOME_GUILD_ID` set in the `.env` file, the bot will register the commands in the development guild. |
187 |
If you want to force the bot to register the commands globally, you can run the following command: |
If you want to force the bot to register the commands globally, you can run the following command: |
188 |
|
|
189 |
```bash |
```bash |
190 |
./blazew run -- -- -u -g |
./blazew run -- -u -g |
191 |
``` |
``` |
192 |
|
|
193 |
To clear the registered commands, you can run the following command: |
To clear the registered commands, you can run the following command: |
194 |
|
|
195 |
```bash |
```bash |
196 |
./blazew run -- -- -c |
./blazew run -- -c |
197 |
``` |
``` |
198 |
|
|
199 |
Once again, if you have debug mode enabled, the bot will clear the commands in the development guild. Otherwise, it will clear the commands globally. |
Once again, if you have debug mode enabled, the bot will clear the commands in the development guild. Otherwise, it will clear the commands globally. |
200 |
To force the bot to clear the commands globally, you can run the following command: |
To force the bot to clear the commands globally, you can run the following command: |
201 |
|
|
202 |
```bash |
```bash |
203 |
./blazew run -- -- -c -g |
./blazew run -- -c -g |
204 |
``` |
``` |
205 |
|
|
206 |
## Emojis |
## Emojis |