ChatInputCommandInteraction#guildId is nullable, but is there some sort of way to assert it's going to be run in a guild? I'm setting .setDMPermission(false) on the builder, do I need to .guildId! everywhere or is there a better method?inGuild makes it: https://github.com/discordjs/discord.js/blob/a76c1ddacc5eb80adbf0a70756f451d709b1a000/packages/discord.js/typings/index.d.ts#L1100Join the Discord to ask follow-up questions and connect with the community
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286 Members
Join