Skip to content
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

✨ support processing Non-TF2 items (offer only) #580

Merged
merged 2 commits into from
Apr 22, 2021

Conversation

idinium96
Copy link
Member

@idinium96 idinium96 commented Apr 19, 2021

  • Trading Card, CS:GO items, etc (Discord Webhook: hyperlink not enabled).

  • Cannot add to the pricelist.

  • All offers that contain non-TF2 items will always be held for review under 🟨_INVALID_ITEMS (manually accept/decline it).

  • Might cause -ve profit (on !stats or !statsdw commands) when accepted.

  • New options.json property:

    • offerReceived.alwaysDeclineNonTF2Items (default is true)
  • Steam Chat:
    image
    image

  • Discord Webhook:
    image
    image

-- with showStockChanges enabled:
image
image

@idinium96 idinium96 merged commit a4f8505 into development Apr 22, 2021
@idinium96 idinium96 deleted the support-trading-cards branch April 22, 2021 10:30
@idinium96 idinium96 mentioned this pull request Apr 22, 2021
idinium96 added a commit that referenced this pull request Apr 24, 2021
#588

## Added
- ✨ support processing Non-TF2 items (offer only) (#580)
   - new options.json property: `offerReceived.alwaysDeclineNonTF2Items` (default is `true`)
- πŸ’¬ add decline message - contains non-TF2 items (#590)
   - new options.json property: `customMessage.decline.hasNonTF2Items` (default is `/pre ❌ Ohh nooooes! The offer is no longer available. Reason: The offer has been declined because the offer you've sent contains Non-TF2 items.`)

## Updates/Changes
- πŸ”„ update `tf2-schema-2` library
    - include Legacy Paint + small refactor (#587)
    - add missing Unusualifier (#591)
- πŸ”¨ small refactor + πŸ”₯ remove duplicated function (#589)

## Fixes
- πŸ› fix not detect legacy painted item in inventory (#586)
- πŸ”¨ ppu: fix missing info on reset (#592)
- πŸ”¨πŸŽ¨ remove discord webhook formatting on fail (send to Steam Chat) (#593)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant