This commit is contained in:
Kwoth
2022-08-24 09:20:40 +02:00
2 changed files with 29 additions and 14 deletions

View File

@@ -33,14 +33,14 @@ These are required for a number of features to function properly, and all should
For a single owner, it should look like this: For a single owner, it should look like this:
```yml ```yml
OwnerIds: OwnerIds:
- 105635576866156544 - 105635576866156544
``` ```
For multiple owners, it should look like this: For multiple owners, it should look like this:
```yml ```yml
OwnerIds: OwnerIds:
- 105635123466156544 - 105635123466156544
- 145521851676884992 - 145521851676884992
- 341420590009417729 - 341420590009417729

View File

@@ -1,4 +1,4 @@
# Setting up NadekoBot on Linux w# Setting up NadekoBot on Linux
| Table of Contents | | Table of Contents |
| :-------------------------------------------------- | | :-------------------------------------------------- |
@@ -160,15 +160,30 @@ If you are presented with the installer main menu, exit it by choosing Option `8
The above command will create a new session named **nadeko** *(you can replace “nadeko” with anything you prefer, it's your session name)*. The above command will create a new session named **nadeko** *(you can replace “nadeko” with anything you prefer, it's your session name)*.
2. Navigate to the project's root directory 2. Run the installer: `bash linuxAIO.sh`
- Project root directory location example: `cd /home/user/nadekobot/`
3. Enter the `output` directory: 3. There are a few options when it comes to running Nadeko.
- `cd output`
4. Run the bot using: - Run `3` to *Run the bot normally*
- `dotnet NadekoBot.dll` - Run `4` to *Run the bot with Auto Restart* (This is may or may not work)
5. Detatch the tmux session:
4. If option `4` was selected, you have the following options
```
1. Run Auto Restart normally without updating NadekoBot.
2. Run Auto Restart and update NadekoBot.
3. Exit
Choose:
[1] to Run NadekoBot with Auto Restart on "die" command without updating.
[2] to Run with Auto Updating on restart after using "die" command.
```
- Run `1` to update the bot upon restart. (This is done using the `.die` command)
- Run `2` to restart the bot without updating. (This is also done using the `.die` command)
5. That's it! to detatch the tmux session:
- Press `Ctrl` + `B` - Press `Ctrl` + `B`
- Then press `D` - Then press `D`
Now check your Discord server, the bot should be online. Nadeko should now be running in the background of your system. Now check your Discord server, the bot should be online. Nadeko should now be running in the background of your system.
To re-open the tmux session to either update, restart, or whatever, execute `tmux a -t nadeko`. *(Make sure to replace "nadeko" with your session name. If you didn't change it, leave it as it.)* To re-open the tmux session to either update, restart, or whatever, execute `tmux a -t nadeko`. *(Make sure to replace "nadeko" with your session name. If you didn't change it, leave it as it.)*