@client.command(pass_context = True)
async def getalt(ctx):
msg = ["gabrielwarren2000@gmail.com:Cyber123", "leandroriveros123@gmail.com:culillo123", "albesi8@msn.com:Albakortoci1", "dryden6@yahoo.ca:toysale22", "nichlas00100@gmail.com:nich918273645", "lodevanveen@gmail.com:Lodelode1", "kylefielding2011@gmail.com:emolover123", "rubbst3in@gmail.com:rube541632789mk", "jasonfryckman@ymail.com:fryckman22", "NickSaya1@hotmail.com:blackout541", "devinquan@yahoo.com:ploopy101"]
await client.send_message(ctx.message.author, random.choice(msg))
await client.send_message(ctx.message.channel, "Alt Has Been Seen To Your DMs")
await client.purge_from(ctx.message.channel, limit=2)
await client.send_message(ctx.message.author, "Please Wait 30 Seconds Before Using This Command Again.")
I want to set a 30 sec cooldown for this command.
See Question&Answers more detail:os