mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Fix typo
This commit is contained in:
parent
f47b9da904
commit
686cd7f300
1 changed files with 2 additions and 2 deletions
|
|
@ -417,8 +417,8 @@ async def imgbb_upload(_, message):
|
||||||
return await message.edit_msg(
|
return await message.edit_msg(
|
||||||
f"**Reply to a photo with /{message.command[0]} command to upload image on ImgBB.**", del_in=6
|
f"**Reply to a photo with /{message.command[0]} command to upload image on ImgBB.**", del_in=6
|
||||||
)
|
)
|
||||||
if not reply.photo or not reply.document.mime_type.startswith("image"):
|
if not reply.photo and not reply.document.mime_type.startswith("image"):
|
||||||
return await messsage.reply_msg("This command only support upload photo")
|
return await message.reply_msg("This command only support upload photo")
|
||||||
msg = await message.reply_msg("`Uploading image to ImgBB...`")
|
msg = await message.reply_msg("`Uploading image to ImgBB...`")
|
||||||
if message.from_user:
|
if message.from_user:
|
||||||
if message.from_user.username:
|
if message.from_user.username:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue