Nasu
DIAdiscord.js - Imagine an app
•Created by Nasu on 7/24/2023 in #djs-questions
Typescript: Missing type guard field for button components?
Code example:
I think the cause is that in
BaseButtonComponentData
, there lacks a field for typeguarding, i.e. type: ComponentType.Button
while other components do.2 replies