Skip to content

Commit

Permalink
update branding
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Jan 1, 2025
1 parent 883a8a3 commit 6e54f61
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<img src="https://raw.githubusercontent.com/Faithful-Resource-Pack/Branding/main/logos/transparent/256/complibot_logo.png" alt="CompliBot" align="right" height="256px">
<img
src="https://database.faithfulpack.net/images/branding/logos/transparent/hd/complibot_logo.png?w=256"
alt="CompliBot Logo"
align="right"
>
<div align="center">
<h1>CompliBot</h1>
<h3>The official bot for the Faithful Discord servers.</h3>
![RepoSize](https://img.shields.io/github/repo-size/Faithful-Resource-Pack/CompliBot)
![Issues](https://img.shields.io/github/issues/Faithful-Resource-Pack/CompliBot)
![PullRequests](https://img.shields.io/github/issues-pr/Faithful-Resource-Pack/CompliBot)
[![Crowdin](https://badges.crowdin.net/e/656f9fc7c628d23c87426953b11cf26c/localized.svg)](https://faithful.crowdin.com/complibot)
![RepoSize](https://img.shields.io/github/repo-size/Faithful-Resource-Pack/CompliBot)
![Issues](https://img.shields.io/github/issues/Faithful-Resource-Pack/CompliBot)
![PullRequests](https://img.shields.io/github/issues-pr/Faithful-Resource-Pack/CompliBot)
[![Crowdin](https://badges.crowdin.net/e/656f9fc7c628d23c87426953b11cf26c/localized.svg)](https://faithful.crowdin.com/complibot)
</div>

---
Expand Down
2 changes: 1 addition & 1 deletion src/commands/developer/shutdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const command: SlashCommand = {
.setAuthor({
name: "Member banned",
iconURL:
"https://raw.githubusercontent.com/Faithful-Resource-Pack/Branding/main/role%20icons/5%20-%20Moderator.png",
"https://raw.githubusercontent.com/Faithful-Resource-Pack/Branding/main/role_icons/5%20-%20Moderator.png",
})
.setDescription(`<@${interaction.user.id}> has been banned`)
.addFields({ name: "Reason", value: "trying to stop me lmao" })
Expand Down
7 changes: 4 additions & 3 deletions src/helpers/utility/formatPack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
export default function formatPack(pack: string, size = "512") {
let name: string;
let iconURL = `https://database.faithfulpack.net/images/branding/logos/transparent/${size}/`;
let iconURL = "https://database.faithfulpack.net/images/branding/logos/transparent/hd/";
switch (pack) {
case "faithful_32x":
name = "Faithful 32x";
Expand Down Expand Up @@ -37,12 +37,13 @@ export default function formatPack(pack: string, size = "512") {
case "progart":
name = "Default Programmer Art";
// have to redefine since root directory is different
iconURL = `https://database.faithfulpack.net/images/bot/progart.png?w=${size}`;
iconURL = `https://database.faithfulpack.net/images/bot/progart.png`;
break;
default:
name = "Default Jappa";
iconURL = `https://database.faithfulpack.net/images/bot/default.png?w=${size}`;
iconURL = `https://database.faithfulpack.net/images/bot/default.png`;
break;
}
iconURL += `?w=${size}`;
return { name, iconURL };
}

0 comments on commit 6e54f61

Please sign in to comment.