mirror of
				https://gitlab.com/ddorn/tfjm-discord-bot.git
				synced 2025-11-04 14:32:20 +01:00 
			
		
		
		
	✏️ typos
This commit is contained in:
		@@ -63,7 +63,7 @@ class DevCog(Cog, name="Dev tools"):
 | 
			
		||||
    @has_role(Role.DEV)
 | 
			
		||||
    async def reload_cmd(self, ctx, name):
 | 
			
		||||
        """
 | 
			
		||||
        (dev) Recharge une catégorie de commande.
 | 
			
		||||
        (dev) Recharge une catégorie de commandes.
 | 
			
		||||
 | 
			
		||||
        A utiliser quand le code change. Arguments
 | 
			
		||||
        possibles: `teams`, `tirages`, `dev`.
 | 
			
		||||
@@ -98,11 +98,11 @@ class DevCog(Cog, name="Dev tools"):
 | 
			
		||||
            await ctx.send(f":tada: L'extension **{name}** a bien été ajoutée !")
 | 
			
		||||
 | 
			
		||||
    # noinspection PyUnreachableCode
 | 
			
		||||
    @command(name="setup-roles")
 | 
			
		||||
    @command(name="setup", hidden=True)
 | 
			
		||||
    @has_role(Role.DEV)
 | 
			
		||||
    async def setup_roles(self, ctx):
 | 
			
		||||
        """
 | 
			
		||||
        (dev) Temporary command to setup the server.
 | 
			
		||||
        (dev) Commande temporaire pour setup le serveur.
 | 
			
		||||
        """
 | 
			
		||||
 | 
			
		||||
        return
 | 
			
		||||
 
 | 
			
		||||
@@ -53,6 +53,7 @@ class MiscCog(Cog, name="Divers"):
 | 
			
		||||
 | 
			
		||||
    @command(name="status")
 | 
			
		||||
    async def status_cmd(self, ctx: Context):
 | 
			
		||||
        """Affiche des informations à propos du serveur."""
 | 
			
		||||
        guild: Guild = ctx.guild
 | 
			
		||||
        embed = discord.Embed(title="État du serveur", color=EMBED_COLOR)
 | 
			
		||||
        benevoles = [g for g in guild.members if has_role(g, Role.BENEVOLE)]
 | 
			
		||||
@@ -80,7 +81,7 @@ class MiscCog(Cog, name="Divers"):
 | 
			
		||||
 | 
			
		||||
    @command(name="help", aliases=["h"])
 | 
			
		||||
    async def help_cmd(self, ctx: Context, *args):
 | 
			
		||||
        """Affiche ce message"""
 | 
			
		||||
        """Affiche des détails à propos d'une commande."""
 | 
			
		||||
 | 
			
		||||
        if not args:
 | 
			
		||||
            await self.send_bot_help(ctx)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user