aspiers/Discord-custom-nicks-userscript

FR: allow substitution templates

開放

#3 建立於 2021年6月28日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (0 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (3 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Instead of replacing with the text to the right of the = sign, it could generate the replacement text from a configurable template which can optionally also use the original nickname. For example, the template (which would be an additional setting) could have values like %name (%nick) so that if the mapping contained a line:

jbloggs=Joe Bloggs

then the replacement text would be Joe Bloggs (jbloggs). It could even get fancy and have conditional formatting based on the lengths of %name and %nick.

貢獻者指南