@bot.slash_command(description = "Взломать участника")
async def hack(inter, *, member: disnake.Member = None):
message = await inter.send(f"Взламываю {member.name}...")
await asyncio.sleep(1)
await message.edit(content = f"Поиск ``discord loggin`` (2fa bypassed)")
await asyncio.sleep(2)
await asyncio.sleep(3)
await message.edit(content = f"""Нашла:
Email: `{member.name}{random.choice(email)}@gmail.com`
Password: `{random.choice(passwords)}`""")
await asyncio.sleep(2)
await asyncio.sleep(2)
await message.edit(content = f"Получаю сообщения ближайших друзей {member.mention}")
await asyncio.sleep(2)
await asyncio.sleep(2)
await message.edit(content = f"""**Последние сообщения** {random.choice(quotes)}""")
await asyncio.sleep(2)
await asyncio.sleep(2)
await message.edit(content = f"Ищу самое распространенное слово")
await asyncio.sleep(2)
await asyncio.sleep(2)
await message.edit(content = f"mostCommon = {random.choice(random_world)}")
await asyncio.sleep(2)
await asyncio.sleep(2)
await message.edit(content = f"Внедряю файл `bigboyVirus.exe` в дискримнатор #{member.discriminator}")
await asyncio.sleep(2)
await asyncio.sleep(2)
await message.edit(content = f"Вирус успешно внедрен. ||При наличии нитро оно будет изъято||")
await asyncio.sleep(2)```
#ApplicationCommandInteraction. How to edit messages? Didn't find in docs
1 messages · Page 1 of 1 (latest)
inter.send doesn't return anything due to API limitations, use inter.edit_original_response instead of message.edit
A better and more realistic approach for this kind of command is to have a set of all possible output sentences, iterating over them, and using random.randrange to set the coroutine freeze time.
😏😏😏
О хелиш, ты тоже здесь
