From 72bc1dcfad17094253675ad07e1463a42ec86ffd Mon Sep 17 00:00:00 2001 From: Florian SYLVAIN Date: Sun, 7 Mar 2021 17:50:30 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20-=20Added=20names=20to=20the=20Cogs?= =?UTF-8?q?=20so=20they=20are=20displayed=20in=20the=20$help=20cmd.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/cmd_lol.py | 2 +- python/cmd_osu.py | 2 +- python/cmd_other.py | 2 +- python/cmd_twitch.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/cmd_lol.py b/python/cmd_lol.py index 53c8f8e..00a4e9f 100644 --- a/python/cmd_lol.py +++ b/python/cmd_lol.py @@ -7,7 +7,7 @@ from api_riot import rank_track, what_player CD_LOLRANK = 0 -class LolCmds(commands.Cog): +class LolCmds(commands.Cog, name='League of Legend commands'): def __init__(self, bot): self.bot = bot diff --git a/python/cmd_osu.py b/python/cmd_osu.py index caa156c..d67a2ce 100644 --- a/python/cmd_osu.py +++ b/python/cmd_osu.py @@ -4,7 +4,7 @@ from discord.ext import commands from api_osu import * -class OsuCmds(commands.Cog): +class OsuCmds(commands.Cog, name='Osu! commands'): def __init__(self, bot): self.bot = bot diff --git a/python/cmd_other.py b/python/cmd_other.py index 57e9de7..1a94a90 100644 --- a/python/cmd_other.py +++ b/python/cmd_other.py @@ -5,7 +5,7 @@ from discord.ext.commands.cooldowns import BucketType CD_ISSOU = 0 -class OtherCmds(commands.Cog): +class OtherCmds(commands.Cog, name='Other commands'): def __init__(self, bot): self.bot = bot diff --git a/python/cmd_twitch.py b/python/cmd_twitch.py index bb20a0a..58e6ae7 100644 --- a/python/cmd_twitch.py +++ b/python/cmd_twitch.py @@ -70,7 +70,7 @@ class ChatObj: pass -class TwitchCmds(commands.Cog): +class TwitchCmds(commands.Cog, name='Twitch commands'): def __init__(self, bot): self.bot = bot