✏️ - Changed $rank into $lol_rank in anticipation of futures League of Legends commands.

This commit is contained in:
Florian SYLVAIN
2021-03-06 17:19:35 +01:00
parent 0f99942806
commit dce69e12cd
3 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -19,7 +19,7 @@
<br> <br>
![](assets/rank.png) ![](assets/lol_rank.png)
<br> <br>
@@ -60,9 +60,9 @@ $issou @{discord_member}
This command will make the bot shout the "Issou !" meme in a voice channel. By default it will do it in the voice channel where the user is connected but you can tag a user on your server to make the bot join their voice channel. This command will make the bot shout the "Issou !" meme in a voice channel. By default it will do it in the voice channel where the user is connected but you can tag a user on your server to make the bot join their voice channel.
### **rank** ### **lol_rank**
``` ```
$rank {lol_username} $lol_rank {lol_username}
``` ```
This command will display a message with the current League of Legend rank of the EUW account you ask for. Make sure to use quotes if there is spaces in the LoL username. This command will display a message with the current League of Legend rank of the EUW account you ask for. Make sure to use quotes if there is spaces in the LoL username.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

+1 -1
View File
@@ -122,7 +122,7 @@ async def chat_stop(ctx):
@bot.command() @bot.command()
@commands.cooldown(1, 2, commands.BucketType.user) @commands.cooldown(1, 2, commands.BucketType.user)
async def rank(ctx, arg, argf=None): async def lol_rank(ctx, arg, argf=None):
if argf is None: if argf is None:
try: try:
player = WATCHER.summoner.by_name(REGION, arg) player = WATCHER.summoner.by_name(REGION, arg)