You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,15 +51,15 @@ To deploy the bot on a server using Docker, follow these steps:
51
51
52
52
To deploy the bot on a server using PM2, follow these steps:
53
53
54
-
1. Install PM2 globally by running `npm install pm2 -g`.
54
+
1. Install PM2 globally by running `npm install pm2 -g`
55
55
2. Clone the repository:
56
56
- Navigate to the directory where you want to clone the repository.
57
-
- Run `git clone https://github.com/simwai/lol-ranks-bot.git`.
58
-
- Navigate to the cloned directory by running `cd lol-ranks-bot`.
59
-
3. Install dependencies by running `npm install`.
60
-
4. Copy `config.json.example` and name it `config.json`.
61
-
5. Adjust the config values by editing `config.json`.
62
-
6. Start the bot using PM2 by running `pm2 start src/index.js --name lol-ranks-bot`.
57
+
- Run `git clone https://github.com/simwai/lol-ranks-bot.git`
58
+
- Navigate to the cloned directory by running `cd lol-ranks-bot`
59
+
3. Install dependencies by running `npm install`
60
+
4. Copy `config.json.example` and name it `config.json`
61
+
5. Adjust the config values by editing `config.json`
62
+
6. Start the bot using PM2 by running `pm2 start src/index.js --name lol-ranks-bot`
63
63
7. To ensure PM2 restarts the bot after reboots, run `pm2 save`
64
64
65
65
## How the Bot Works
@@ -95,7 +95,7 @@ To deploy the bot on a server using PM2, follow these steps:
95
95
-`enableVerification` = Enables summoner name verification
96
96
-`enableTierUpdateMessages` = Enable bot to send messages on configured channel for rank up/down
97
97
98
-
- To enable rank icons on messages (like this <imgalt="Challenger Icon"style="width:18px"src="https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-static-assets/global/default/images/ranked-mini-crests/challenger.png"/>) you need to add custom emojis on your server ([Tutorial](https://support.discord.com/hc/en-us/articles/360036479811-Custom-Emojis))). The icons are inside the `assets/img` folder (Please do not change the name of the icons or the bot will not be able to identify them)
98
+
- To enable rank icons on messages (like this <imgalt="Challenger Icon"style="width:18px"src="https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-static-assets/global/default/images/ranked-mini-crests/challenger.png"/>) you need to add custom emojis on your server ([Tutorial](https://support.discord.com/hc/en-us/articles/360036479811-Custom-Emojis)). The icons are inside the `assets/img` folder (Please do not change the name of the icons or the bot will not be able to identify them)
0 commit comments