mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 22:53: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;
|
||||
|
|
|
@ -319,6 +319,10 @@ export const Devs = /* #__PURE__*/ Object.freeze({
|
|||
name: "amia",
|
||||
id: 142007603549962240n
|
||||
},
|
||||
ImLvna: {
|
||||
name: "Luna <3",
|
||||
id: 174200708818665472n
|
||||
}
|
||||
} satisfies Record<string, Dev>);
|
||||
|
||||
// iife so #__PURE__ works correctly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue