mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 17:13:03 -04:00
Merge remote-tracking branch 'upstream/dev'
This commit is contained in:
commit
742265f306
28 changed files with 419 additions and 366 deletions
|
@ -155,6 +155,8 @@ export default definePlugin({
|
|||
},
|
||||
|
||||
getBadges(props: { userId: string; user?: User; guildId: string; }) {
|
||||
if (!props) return [];
|
||||
|
||||
try {
|
||||
props.userId ??= props.user?.id!;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue