move stuff around
This commit is contained in:
8
library/internal/text-node.ts
Normal file
8
library/internal/text-node.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { MessageOptions } from "./message"
|
||||
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