From dbad10984a99b6eb9234ec71f2891a136b6a572b Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 9 Jun 2023 19:48:18 +0000 Subject: [skip ci] Don't run ci on forks; Fix interaction nicks in SMYN (#4) The following actions are disabled unless run on the main repo: codeberg, publish, build/upload, reportBrokenPlugins Reviewed-on: https://codeberg.org/Ven/cord/pulls/4 Co-authored-by: Luna Co-committed-by: Luna --- src/plugins/showMeYourName/index.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/showMeYourName') diff --git a/src/plugins/showMeYourName/index.tsx b/src/plugins/showMeYourName/index.tsx index ee43331..473e2f7 100644 --- a/src/plugins/showMeYourName/index.tsx +++ b/src/plugins/showMeYourName/index.tsx @@ -63,6 +63,7 @@ export default definePlugin({ settings, renderUsername: ({ author, message, isRepliedMessage, withMentionPrefix }: UsernameProps) => { + if (message.interaction) return author?.nick; try { const { username } = message.author; const { nick } = author; -- cgit