embed children
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
/* eslint-disable class-methods-use-this */
|
||||
import type { MessageComponentInteraction, MessageOptions } from "discord.js"
|
||||
import { Container } from "./container.js"
|
||||
|
||||
export abstract class Node<Props> {
|
||||
readonly children = new Container<Node<unknown>>()
|
||||
protected props: Props
|
||||
|
||||
constructor(initialProps: Props) {
|
||||
|
||||
Reference in New Issue
Block a user