(message: string)
| 383 | const ensRegex: RegExp = /^.{3,}\.eth$/; |
| 384 | |
| 385 | function createMessageQuote(message: string): string { |
| 386 | // add `>` to each line to include empty lines in the quote |
| 387 | return message.replace(/^/gm, '> '); |
| 388 | } |
| 389 | |
| 390 | function createMessageReply(message: string): string { |
| 391 | return createMessageQuote(message) + '\n\n'; |
no outgoing calls
no test coverage detected