Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord API v12 - Fixes #15 #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

YannZeRookie
Copy link
Contributor

Hello,

I had a number of dependencies troubles recently (see #16) and I needed to upgrade to v12 of the Discord.js API anyway, so here is my take at it.

I started by porting the unit tests. After that I made a simple bot from scratch to test the simple examples that you describe in your README. Everything worked great, so I think this is good enough for you to review.

You will note that I slightly updated the required version for botkit to resolve some other failing dependencies. In the future, it would be great to move to version 4, because we still get lots of security warnings with the old 0.7 version. I tried to do it but I gave up because I was not good enough to understand how your code interacts with botkit. I'm sure you will make it in a few minutes compared to the 2 hours I lost trying to do it ;-)

Thanks for your review and corrections, and keep up the great work!
-Yann

For a complete discussion about changes from v11 to v12, make sure
you read carefully the detailed instructions at:
https://discordjs.guide/additional-info/changes-in-v12.html
@brh55
Copy link
Owner

brh55 commented Dec 11, 2020

Hey @YannZeRookie, thank you for creating this! I'll take this weekend to review it, and get back to you. Slowly getting back to being more active on GitHub, so bare with me. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants