(content = '')
| 256 | } |
| 257 | |
| 258 | function containsDiscordRenderable(content = '') { |
| 259 | return /<@!?&?\d+>|<#\d+>|\b\d{17,19}\b/.test(String(content)); |
| 260 | } |
| 261 | |
| 262 | function buildNotificationEmbed(title, body = '', color = 'primary') { |
| 263 | const defaultTitle = NOTIFICATION_DEFAULT_TITLES[color] || NOTIFICATION_DEFAULT_TITLES.primary; |
no outgoing calls
no test coverage detected