A plugin for renting Steam accounts needs to be developed. (The bot is already ready, only an addition to it is needed)
After payment, the client automatically receives data from a free account. If all accounts are occupied, the bot issues a refund and informs the client about it.
The message with the data must indicate that by the command /guard, the client can receive the Steam Guard code (via maFile) from the issued account.
One account can be linked to several lots with different rental durations (for example, 1 hour, 3 hours, etc.), but during active rental, this account should not be issued to other users.
For each lot, there should be the ability to set the rental time, bonus time, as well as link specific accounts.
For 15 minutes before the end of the rental, the bot notifies the client about the upcoming completion.
If the client leaves a 5★ review, their rental is extended by 30 minutes. Reviews of 4★ and below do not provide a bonus.
Upon completion of the rental, the bot:
changes the account password,
kicks the client out of the system,
notifies them of the completion,
makes the account available for rent again (with new data).
In the plugin settings in the Telegram bot, there should be:
Linking accounts to lots,
Setting rental time,
Setting bonus for review,
Linking maFile for issuing Guard codes.