discord.js v13.8.0 was deprecated. As noted in the Discord.js announcement:
So, this PR should also fix the issues we've been having with various dropdowns not working either.
One thing to note: I've added a cast to never (e.g., "" as never) when updating values in the database. This is because the possible properties that TypeScript sees can be one of many different value types, and I guess TypeScript really wants us to assert that the value that we're using to update the entry in the database satisfies all of those types? Not too sure, though.
discord.js v13.8.0 was deprecated. As noted in the Discord.js announcement:
So, this PR should also fix the issues we've been having with various dropdowns not working either.
One thing to note: I've added a cast to
never
(e.g.,"" as never
) when updating values in the database. This is because the possible properties that TypeScript sees can be one of many different value types, and I guess TypeScript really wants us to assert that the value that we're using to update the entry in the database satisfies all of those types? Not too sure, though.