(text: string)
| 261 | } |
| 262 | |
| 263 | clean(text: string) { |
| 264 | if (this.message) { |
| 265 | return cleanMessage(this.message, text); |
| 266 | } |
| 267 | if (this.interaction) { |
| 268 | return cleanInteraction(this.interaction, text); |
| 269 | } |
| 270 | throw Error("Unknown command type"); |
| 271 | } |
| 272 | |
| 273 | static init() { |
| 274 | return this; |
no test coverage detected