mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 11:27:02 -04:00
[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 <imlvnaa@gmail.com> Co-committed-by: Luna <imlvnaa@gmail.com>
This commit is contained in:
parent
55543d8640
commit
dbad10984a
6 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue