-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Halting feature #1123
Halting feature #1123
Conversation
* Trading can be stopped with !halt and resumed with !unhalt commands * All incoming trades will be declined while in halt (admins are immune) * All commands will be declined while in halt (admins are immune)
Uploading current version of the feature from my fork
* Trades are now declined only for good reason, and normally go to review
My tests: https://imgur.com/a/7L5kPCk |
But, will check again |
Oh what, it has a gift note, but I wonder why it passes to ONLY_METAL reason. |
If it's a gift, just accept (if reputation checks returned tf2autobot/src/classes/MyHandler/MyHandler.ts Lines 1053 to 1112 in 55aea30
|
OOOHHHHH, it was skipped. I see. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah if it's a gift, just accept, since the items are only on their side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your hard work @RobotoLev.
My review:
In my opinion, this can be released in v4.13. I can submit any other desirable changes after that. |
Alright, thank you very much for your help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 👍
Resolves #843
Edited by @idinium96:
New commands (admins only) added:
!halt
- Pause the trading ⏸ (disables listings, commands, most of trades). Admins are immune. Do not spam this.!unhalt
- Unpause the trading ▶ (enables listings, commands, trades). Do not spam this.!haltstatus
- Get the info whether the bot is paused or not ⏯New options added:
offerReceived.halted.ignoreHalted
false
, if set totrue
, the bot will ignore all incoming offer during halt mode)manualReview.halted.note
customMessage.halted
customMessage.decline.halted
manualReview.enable
tofalse