mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 11:43:16 +02:00
✨ - Added names to the Cogs so they are displayed in the $help cmd.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user