/[sudobot]/trunk/docs/app/(docs)/getting-started/page.mdx
ViewVC logotype

Diff of /trunk/docs/app/(docs)/getting-started/page.mdx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 580 by rakinar2, Mon Jul 29 20:37:38 2024 UTC revision 593 by rakinar2, Sat Aug 3 16:15:12 2024 UTC
# Line 164  After configuring the bot, you can run i Line 164  After configuring the bot, you can run i
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.
# Line 178  The bot uses [Discord's Application Comm Line 178  The bot uses [Discord's Application Comm
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.
# Line 187  If you don't have debug mode enabled, th Line 187  If you don't have debug mode enabled, th
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

Legend:
Removed from v.580  
changed lines
  Added in v.593

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26