- Added names to the Cogs so they are displayed in the $help cmd.

This commit is contained in:
Florian SYLVAIN
2021-03-07 17:50:30 +01:00
parent 4d71863cb4
commit 72bc1dcfad
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ from api_riot import rank_track, what_player
CD_LOLRANK = 0 CD_LOLRANK = 0
class LolCmds(commands.Cog): class LolCmds(commands.Cog, name='League of Legend commands'):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
+1 -1
View File
@@ -4,7 +4,7 @@ from discord.ext import commands
from api_osu import * from api_osu import *
class OsuCmds(commands.Cog): class OsuCmds(commands.Cog, name='Osu! commands'):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
+1 -1
View File
@@ -5,7 +5,7 @@ from discord.ext.commands.cooldowns import BucketType
CD_ISSOU = 0 CD_ISSOU = 0
class OtherCmds(commands.Cog): class OtherCmds(commands.Cog, name='Other commands'):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
+1 -1
View File
@@ -70,7 +70,7 @@ class ChatObj:
pass pass
class TwitchCmds(commands.Cog): class TwitchCmds(commands.Cog, name='Twitch commands'):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot