2
I wanted to know how to send several sentences at once, example
?Say Hello World (Idchannel)
what happens is that I can only send a sentence and then the ID, I wanted to add as many phrases as I want and then the ID
@client.command(
pass_context=True)
async def say(ctx, mensagem : str, id : int):
amount = 1
channel = client.get_channel(id)
await ctx.channel.purge(limit=amount)
await channel.send(mensagem)
Just remembering that Ids on Discord are the type
unsigned long
. If you are using Python version 2, you will have to change this. If you are Python3+, you are right because integers are infinite– Natan Fernandes