Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
laptopwiki:guides:discord:stickybot [18/07/2024 21:03] – dustojnikhummer | laptopwiki:guides:discord:stickybot [18/07/2024 21:11] (current) – [Run stickybot in the background] dustojnikhummer | ||
---|---|---|---|
Line 10: | Line 10: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | * A Linux webhost | + | * A Linux webhost |
- | * npm (sudo apt install npm) | + | * npm |
* npm dotenv (npm install dotenv) | * npm dotenv (npm install dotenv) | ||
* nodejs | * nodejs | ||
Line 107: | Line 107: | ||
Now install dependencies for the bot: | Now install dependencies for the bot: | ||
+ | Fedora/ | ||
+ | < | ||
+ | |||
+ | Debian/ | ||
+ | < | ||
+ | |||
+ | Install NPM dependencies | ||
< | < | ||
npm install | npm install | ||
- | |||
</ | </ | ||
Line 119: | Line 125: | ||
</ | </ | ||
+ | Install dotenv | ||
+ | < | ||
Now run the bot with: | Now run the bot with: | ||
Line 177: | Line 185: | ||
Do not add , to the very last line, that won't work. | Do not add , to the very last line, that won't work. | ||
- | ===== Run stickybot in the background ===== | + | ===== Run stickybot in the background |
Unless you want to keep the SSH connection active all the time to keep the bot running you will need to run it in the background. To do that we will use a Linux terminal application called [[https:// | Unless you want to keep the SSH connection active all the time to keep the bot running you will need to run it in the background. To do that we will use a Linux terminal application called [[https:// |