CodingTrain / Discord-Bot-Examples

Bot Examples for Fall 2023
20 stars 7 forks source link

Convert code samples to ES6 imports to be consistent with the example code in the repository #5

Closed supercrafter100 closed 1 year ago

supercrafter100 commented 1 year ago

The README still uses old commonJS imports while #1 converted the code inside the discordjs example to es6 imports. Though this means an extra step is needed as you're required to change the type to module in the package.json.

shiffman commented 1 year ago

Thank you @supercrafter100!