Update Akeno/plugins/afk.py
Browse files- Akeno/plugins/afk.py +1 -1
Akeno/plugins/afk.py
CHANGED
@@ -87,7 +87,7 @@ async def afk(client: Client, message: Message):
|
|
87 |
media_type = "video"
|
88 |
elif message.reply_to_message.media == MessageMediaType.VOICE:
|
89 |
media_type = "voice"
|
90 |
-
media = await message.reply_to_message.forward(
|
91 |
reason = await input_user(message)
|
92 |
reason = reason if reason else "Not specified"
|
93 |
await db.set_afk(
|
|
|
87 |
media_type = "video"
|
88 |
elif message.reply_to_message.media == MessageMediaType.VOICE:
|
89 |
media_type = "voice"
|
90 |
+
media = await message.reply_to_message.forward("me")
|
91 |
reason = await input_user(message)
|
92 |
reason = reason if reason else "Not specified"
|
93 |
await db.set_afk(
|