I have a function that needs to get the id of a chat input command to process some logic, and I was wondering how I could get the id? Obviously it's stored in container.stores.get('commands') but I don't know where to go from there.
Solution
import { ApplicationCommandRegistries } from '@sapphire/framework';ApplicationCommandRegistries.acquire('commandNameHere').globalChatInputCommandIds
import { ApplicationCommandRegistries } from '@sapphire/framework';ApplicationCommandRegistries.acquire('commandNameHere').globalChatInputCommandIds