CodingTrain / Discord-Bot-Examples

Bot Examples for Fall 2023
18 stars 6 forks source link

Use native fetch in node instead of node-fetch library #2

Closed dipamsen closed 11 months ago

dipamsen commented 11 months ago

Moved review note from #1

I totally forgot to mention but fetch is now natively supported in node. There isn't a need to actually install the package anymore. Since v18.18.0 it is implemented, see https://nodejs.org/dist/latest-v18.x/docs/api/globals.html for detailed information. This removes the need for this dependency.

_Originally posted by @supercrafter100 in https://github.com/Programming-from-A-to-Z/Discord-Bot-Examples/pull/1#discussion_r1349749229_