@anitrack/patreon-wrapper 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Patreon Wrapper 🍊
2
- An Simple Patreon Wrapper with much cleaner responses
2
+ An Simple Patreon Wrapper with much cleaner responses. Patreon. Why u do dis..
3
3
 
4
4
  ## Table of Contents
5
5
  - [Installing](#installing)
@@ -73,7 +73,7 @@ Clean Response Example
73
73
  status: 'active_patron',
74
74
  tier: {
75
75
  id: '12345678',
76
- title: 'Supporter 1'
76
+ title: 'First Tier'
77
77
  },
78
78
  cents: 500, // 5 USD
79
79
  willPayCents: 500,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anitrack/patreon-wrapper",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Discord Patreon wrapper for AniTrack",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib",
package/src/index.ts CHANGED
@@ -88,7 +88,7 @@ export class Patreon {
88
88
  if (res.data.data.length == 0) return []
89
89
 
90
90
  res.data.data.forEach((Patron: any) => {
91
- // console.dir(Patron)
91
+ if (Patron.attributes.patron_status == 'declined_patron') return
92
92
 
93
93
  var socialInfo = res.data.included.find(
94
94
  (includePatron: any) =>