Elliot
SIASapphire - Imagine a framework
•Created by Elliot on 9/8/2023 in #discordjs-support
How do you handle incompatible null/undefined from discord.js typings?
oh well
16 replies
SIASapphire - Imagine a framework
•Created by Elliot on 9/8/2023 in #discordjs-support
How do you handle incompatible null/undefined from discord.js typings?
probably should have made a discussion now that i think of it
16 replies
SIASapphire - Imagine a framework
•Created by Elliot on 9/8/2023 in #discordjs-support
How do you handle incompatible null/undefined from discord.js typings?
16 replies
SIASapphire - Imagine a framework
•Created by Elliot on 9/8/2023 in #discordjs-support
How do you handle incompatible null/undefined from discord.js typings?
i'll make the issue and let you debate over there
16 replies
SIASapphire - Imagine a framework
•Created by Elliot on 9/8/2023 in #discordjs-support
How do you handle incompatible null/undefined from discord.js typings?
:/
Do you think it's worth oppening a GH issue? At least to have optional object properties accept
null
s (iconURL?: string | null
, etc)16 replies
SIASapphire - Imagine a framework
•Created by Elliot on 2/28/2023 in #sapphire-support
Version mismatch between Sapphire and dapi-types
After thinking about it, I won't be doing that, i'll just stick with the older versions.
Because StageChannel do have a chat in Discord, and Djs just merged a PR that adds the
messages
property to Stage Channel, so i'll just wait for that to land, rather than adding a stage-channel guard everywhere, and removing it the next time i update Djs13 replies
SIASapphire - Imagine a framework
•Created by Elliot on 2/28/2023 in #sapphire-support
Version mismatch between Sapphire and dapi-types
my errors are all those :
I see what you mean, it seems like I need to add those manual checks everywhere
Thanks for your fast response
13 replies
SIASapphire - Imagine a framework
•Created by Elliot on 2/28/2023 in #sapphire-support
Version mismatch between Sapphire and dapi-types
As a temporary fix, i kept the overrides and went back to
13 replies
SIASapphire - Imagine a framework
•Created by Elliot on 2/28/2023 in #sapphire-support
Version mismatch between Sapphire and dapi-types
I removed package-json and node-modules to regenerate a clean dep tree, installed everything, then ran npm dedupe
13 replies
SIASapphire - Imagine a framework
•Created by Elliot on 2/28/2023 in #sapphire-support
Version mismatch between Sapphire and dapi-types
Thanks a lot, but now all the Discord.js' typescript compilation error are back
13 replies
SIASapphire - Imagine a framework
•Created by Elliot on 1/12/2023 in #discordjs-support
BaseMessageOptions#components does not take Builders
Found it, my action rows need to have a generic set, i cannot use the broad ActionRowBuilder.
6 replies