embeds + decentralized element definition
This commit is contained in:
8
src.new/text.ts
Normal file
8
src.new/text.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { MessageOptions } from "discord.js"
|
||||
import { Node } from "./node.js"
|
||||
|
||||
export class TextNode extends Node<string> {
|
||||
override modifyMessageOptions(options: MessageOptions) {
|
||||
options.content = (options.content ?? "") + this.props
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user