aoijs / aoi.js

aoi.js - The most advanced string-based package to create a Discord Bot fast and powerful.
https://aoi.js.org
Apache License 2.0
329 stars 130 forks source link

createArray with JSON support #603

Closed NanotechPikachu closed 1 month ago

NanotechPikachu commented 2 months ago

Type

Dependencies (Third Party Modules) needed: N/A

Want a credit? Discord tag or other social media link: @nanotechpikachu

Referenced Issue: #NaN (Answer for an issue, if any)

Description

The function support the earlier method of ";" and normal Array [] This will allow the use of .push() and other Array functions without resorting to djs if an Array is returned by API request or something.

NanotechPikachu commented 2 months ago

Fafa, leref, ayaka..... Review.....

Faf4a commented 2 months ago

fix conflicts

NanotechPikachu commented 2 months ago

Damn. Why did leref change all the things now of all days?

Anyway, will fix it soon.

NanotechPikachu commented 2 months ago

@Faf4a done. All's well now right?

NanotechPikachu commented 2 months ago

?

Faf4a commented 1 month ago

Thanks for your contribution, but unfortunately we decided AGAINST adding this feature.

Faf4a commented 1 month ago

However we're open for suggestions how to implement the ability to use raw arrays in a better way.