From dce69e12cd68330df24daf908520fd8fc31bd2bf Mon Sep 17 00:00:00 2001 From: Florian SYLVAIN Date: Sat, 6 Mar 2021 17:19:35 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20-=20Changed=20$rank=20into?= =?UTF-8?q?=20$lol=5Frank=20in=20anticipation=20of=20futures=20League=20of?= =?UTF-8?q?=20Legends=20commands.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- assets/{rank.png => lol_rank.png} | Bin python/main.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename assets/{rank.png => lol_rank.png} (100%) diff --git a/README.md b/README.md index 0bc06c0..8fa295a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@
-![](assets/rank.png) +![](assets/lol_rank.png)
@@ -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. -### **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. diff --git a/assets/rank.png b/assets/lol_rank.png similarity index 100% rename from assets/rank.png rename to assets/lol_rank.png diff --git a/python/main.py b/python/main.py index 555ee12..6771e81 100644 --- a/python/main.py +++ b/python/main.py @@ -122,7 +122,7 @@ async def chat_stop(ctx): @bot.command() @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: try: player = WATCHER.summoner.by_name(REGION, arg)