“discord.py claro” Respostas de código

Discord.py comando claro

@client.command()
async def clear(ctx, amount=5):
	await ctx.channel.purge(limit=ammount)
Soupyy

Discord.py status claro

def _status(self, ctx, *, message):
        '''Set a custom playing status for the bot.'''
        if message == 'clear':
            return await self.change_presence(activity=None)
        await self.change_presence(activity=discord.Game(message))
        await ctx.send(f"Changed status to **{message}**") 
Enchanting Eel

discord.py claro

@bot.command()
async def clear(ctx, amount=5):
	await ctx.channel.purge(limit=amount)

or

@client.command()
async def clear(ctx, amount=5):
	await ctx.channel.purge(limit=amount)
TrimB24

Respostas semelhantes a “discord.py claro”

Perguntas semelhantes a “discord.py claro”

Procure respostas de código populares por idioma

Procurar outros idiomas de código