aspiers/Discord-custom-nicks-userscript

FR: allow substitution templates

オープン

#3 opened on 2021/06/28

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (0 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (3 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド