Review offers#361
Conversation
If review is enabled then the bot won't decline - invalid items - overstocked - invalid value
|
I've tried it, so far so good.
Thanks. |
Already made an issue for notifying #362 |
|
Gifts won't be reviewed because it has a setting for accepting gifts. But I did make review for escrow offers because you might want to accept them anyway. |
Yeah, it should be implemented (for me... need to wait for others review).
I see... then |
|
@Nicklason, I think it's best to check for bans/escrow before skipping the trade offer for review because of OVERSTOCKED/INVALID_ITEM/INVALID_VALUE case. |
very nice that you spotted that, maybe just have the bot check for escrow and bans when it first receives the offer, if it will be in escrow then just decline it instead of skipping it |
|
Yes, agree with that, unless the user sets |
|
I don't think this is overstocked. I've set the intent for all craft weapons to bank with max=100, and the other things (like craft hats/tools) to sell with max=10 (which perhaps if someone bought some weapon from the bot, they also give some sweets or extras and the bot will accept it.) Is it if we set intent=sell, the bot does not want the items to be in the bot's inventory, even though the bot does not have a single one of it? |
Will this do it? |
|
will this be implemented soon to the master @Nicklason? |
|
Here I have all possible cases for multiple reasons: The only item in pricelist is:
|
|
This might worth mentioning here, that item overpay is still marked as OVERSTOCKED. It only accepts if the item is set intent=bank: |
* src: fix problem with detecting killstreak Fixes: #386 * src: fix problem with checking escrow Fixes: #374 * add recorded trades time from first trade made in !trades command (#382) * add recorded trades time from first trade made * bring the trade records to the top Co-authored-by: idinium96 <idinium96@users.noreply.github.com> * src: fix trades command * src: pluralize item names * Add admins to friendsToKeep (#407) * fix typo and add missing variables found in schema (#408) Co-authored-by: idinium96 <idinium96@users.noreply.github.com> * src: use getAdmins function for friendsToKeep * src: use amount that the bot can trade when pluralizing * Add option to clear pricelist (#411) * src: add all option to remove command * change confirm setting * src: fix problem checking errors when sending offer * update modules * src: fix problem with queue freezing (#412) Fixes #396 * src: add message command (#395) * src: add message command * follow eslint * check if messages are enabled for user too * check once Co-authored-by: menoob003 <44436740+menoob003@users.noreply.github.com> * change a few things about the message command * fix problem with enabling messages * rename env var * add env var to templates * i am a goof * i am a goof 2 * i am a goof 3 * i am a goof 4 * i am goof 5? * it is now very nice * Review offers (#361) * src: add command checks * src: implement trades command for manual review * src: change description for trades command * src: remove unused argument * src: add functionality for review of offers If review is enabled then the bot won't decline - invalid items - overstocked - invalid value * src: manually accept / decline offers * forgot to uncomment admin check * src: fix offer logging * src: notify about offers that are pending for review * src: fix problem with no action from onNewTradeOffer handler * src: always notify reviews to admins * src: always decline escrow * src: add metadata to offer action * add missing arguments * src: find all offer reasons * add missing join * fix problem with polldata compatibility * check for escrow before marking the offer for review * add error message to accept / decline trade commands * add missing argument * fix problem with not applying action to offer * i am a goof * always message admins when offer is pending for review Co-authored-by: idinium96 <idinium96@users.noreply.github.com> * always display offer values in metal (#415) * disable reviews by default Co-authored-by: IdiNium <47635037+idinium96@users.noreply.github.com> Co-authored-by: idinium96 <idinium96@users.noreply.github.com> Co-authored-by: Mohammad Abdullah <49647622+mabdu11ah@users.noreply.github.com> Co-authored-by: Zeckatz <44436740+Zeckatz@users.noreply.github.com> Co-authored-by: menoob003 <44436740+menoob003@users.noreply.github.com>
* src: fix problem with detecting killstreak Fixes: #386 * src: fix problem with checking escrow Fixes: #374 * add recorded trades time from first trade made in !trades command (#382) * add recorded trades time from first trade made * bring the trade records to the top Co-authored-by: idinium96 <idinium96@users.noreply.github.com> * src: fix trades command * src: pluralize item names * Add admins to friendsToKeep (#407) * fix typo and add missing variables found in schema (#408) Co-authored-by: idinium96 <idinium96@users.noreply.github.com> * src: use getAdmins function for friendsToKeep * src: use amount that the bot can trade when pluralizing * Add option to clear pricelist (#411) * src: add all option to remove command * change confirm setting * src: fix problem checking errors when sending offer * update modules * src: fix problem with queue freezing (#412) Fixes #396 * src: add message command (#395) * src: add message command * follow eslint * check if messages are enabled for user too * check once Co-authored-by: menoob003 <44436740+menoob003@users.noreply.github.com> * change a few things about the message command * fix problem with enabling messages * rename env var * add env var to templates * i am a goof * i am a goof 2 * i am a goof 3 * i am a goof 4 * i am goof 5? * it is now very nice * Review offers (#361) * src: add command checks * src: implement trades command for manual review * src: change description for trades command * src: remove unused argument * src: add functionality for review of offers If review is enabled then the bot won't decline - invalid items - overstocked - invalid value * src: manually accept / decline offers * forgot to uncomment admin check * src: fix offer logging * src: notify about offers that are pending for review * src: fix problem with no action from onNewTradeOffer handler * src: always notify reviews to admins * src: always decline escrow * src: add metadata to offer action * add missing arguments * src: find all offer reasons * add missing join * fix problem with polldata compatibility * check for escrow before marking the offer for review * add error message to accept / decline trade commands * add missing argument * fix problem with not applying action to offer * i am a goof * always message admins when offer is pending for review Co-authored-by: idinium96 <idinium96@users.noreply.github.com> * always display offer values in metal (#415) * disable reviews by default Co-authored-by: IdiNium <47635037+idinium96@users.noreply.github.com> Co-authored-by: idinium96 <idinium96@users.noreply.github.com> Co-authored-by: Mohammad Abdullah <49647622+mabdu11ah@users.noreply.github.com> Co-authored-by: Zeckatz <44436740+Zeckatz@users.noreply.github.com> Co-authored-by: menoob003 <44436740+menoob003@users.noreply.github.com>


Resolves: #174