Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Addition: copyProfileThemes #1452

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Editing message
  • Loading branch information
KannaDev committed Aug 4, 2023
commit bc428d5ae2027125c2ef882568eb25278fdc892e
6 changes: 1 addition & 5 deletions src/plugins/copyProfileThemes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ const fetchProfileTheme = async (id, guildId = null) => {
themeString += `\nGuild Primary: #${guildProfile.themeColors[0].toString(16)} Guild Secondary: #${guildProfile.themeColors[1].toString(16)}`;
}

if (themeString === "") {
return "No theme colours found...";
}

return themeString;
return themeString || "No theme...";
};


Expand Down