Grimmys / PokeTCGBot

GNU General Public License v3.0
2 stars 4 forks source link

Add secured trade between players #63

Open Grimmys opened 1 year ago

Grimmys commented 1 year ago

Current trade has to be done in two steps:

First step, one player is giving the cards/money using \send_cards or send_money command. The second step, the other player is doing the same.

Some people (let's call them "arnaqueres") could ask other people for a trade, demand them to give the cards first, and then never give back the cards that they agreed to give as well.

To bypass this issue, a trade command could be added, where everything including in the trade should be specified, and the other player has to click on a button to confirm the trade. This way, everything would be exchanged at the same time in a single action.

Grimmys commented 1 year ago

Almost done, needs testing