Add command to delete messages
This commit is contained in:
		@@ -207,6 +207,12 @@ async def send(ctx: commands.Context, *, message: str):
 | 
			
		||||
    await ctx.send(message)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@bot.command(help="Supprime les derniers messages.")
 | 
			
		||||
@commands.has_permissions(administrator=True)
 | 
			
		||||
async def clear(ctx: commands.Context, limit: int = 100):
 | 
			
		||||
    await ctx.channel.purge(limit=limit)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@bot.command(help="Envoyer un message à Philia par la pensée en tant que Brother.")
 | 
			
		||||
@commands.has_permissions(administrator=True)
 | 
			
		||||
async def brother(ctx: commands.Context, *, message: str):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user