Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirarism authored Sep 21, 2023
1 parent b90081c commit c0bbbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misskaty/plugins/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def log_file(_, ctx: Message, strings):
"expire_dt": str(exp_datetime),
"title": "MissKatyLogs"
}
pastelog = (await fetch.post("https://paste.yasirapi.eu.org", json=data)).json()
pastelog = (await fetch.post("https://paste.yasirapi.eu.org/api/pastes", json=data)).json()
LOGGER.info(pastelog)
await msg.edit_msg(f"<a href='https://paste.yasirapi.eu.org/{pastelog.get('paste_id')}'>Here the Logs</a>\nlog size: {get_readable_file_size(os.path.getsize('MissKatyLogs.txt'))}")
except Exception as err:
Expand Down

0 comments on commit c0bbbf1

Please sign in to comment.