Closed MrShoopa closed 5 years ago
Based on the commit you put in the discord.js version, I see no "Attachment" class. https://discord.js.org/#/docs/main/master (left hand side obviously)
And addRole does not exist on v12 either. https://discord.js.org/#/docs/main/master/search?q=addRole
What you are really looking for is how to convert your v11 code to v12 code, which is outlined here: https://github.com/discordjs/discord.js/wiki/Data-Stores
Please describe the problem you are having in as much detail as possible: Rewriting my bot for TypeScript, I've noticed a few things were missing in the scripts of the package and the TS declarations (Even though they were included in the documentation):
Include a reproducible code sample here, if possible:
Further details: