dankgrinder 5.0.6 → 5.0.7

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.
@@ -399,7 +399,7 @@ function _extractCV2Buttons(components) {
399
399
  if (c.type === 2) {
400
400
  btns.push({
401
401
  type: 'BUTTON', label: c.label || null,
402
- customId: c.custom_id, style: c.style,
402
+ customId: c.custom_id, style: c.style, url: c.url || null,
403
403
  disabled: c.disabled || false, emoji: c.emoji, _raw: c,
404
404
  });
405
405
  }
@@ -407,7 +407,7 @@ function _extractCV2Buttons(components) {
407
407
  if (c.accessory?.type === 2) {
408
408
  btns.push({
409
409
  type: 'BUTTON', label: c.accessory.label || null,
410
- customId: c.accessory.custom_id, style: c.accessory.style,
410
+ customId: c.accessory.custom_id, style: c.accessory.style, url: c.accessory.url || null,
411
411
  disabled: c.accessory.disabled || false, emoji: c.accessory.emoji, _raw: c.accessory,
412
412
  });
413
413
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dankgrinder",
3
- "version": "5.0.6",
3
+ "version": "5.0.7",
4
4
  "description": "Dank Memer automation engine — grind coins while you sleep",
5
5
  "bin": {
6
6
  "dankgrinder": "bin/dankgrinder.js"