Skip to content

Commit 52ad3a3

Browse files
committed
Merge branch 'master' of https://github.com/simwai/lol-ranks-bot
2 parents 3374c64 + d81c324 commit 52ad3a3

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ To deploy the bot on a server using Docker, follow these steps:
5151

5252
To deploy the bot on a server using PM2, follow these steps:
5353

54-
1. Install PM2 globally by running `npm install pm2 -g`.
54+
1. Install PM2 globally by running `npm install pm2 -g`
5555
2. Clone the repository:
5656
- 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`
6363
7. To ensure PM2 restarts the bot after reboots, run `pm2 save`
6464

6565
## How the Bot Works
@@ -95,7 +95,7 @@ To deploy the bot on a server using PM2, follow these steps:
9595
- `enableVerification` = Enables summoner name verification
9696
- `enableTierUpdateMessages` = Enable bot to send messages on configured channel for rank up/down
9797

98-
- To enable rank icons on messages (like this <img alt="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 <img alt="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)
9999

100100
## LICENSE
101101

src/events.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,5 @@ export class Events {
191191
} catch (error) {
192192
console.trace('Failed to reply player not found', error)
193193
}
194-
195194
}
196195
}

0 commit comments

Comments
 (0)