Skip to content

Commit

Permalink
pleaseee
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Feb 1, 2025
1 parent b28b8b6 commit 4c2028a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function main() {
await initStorage()
await logIn()
const guild = await client.guilds.fetch(config.guildId)
setupBranding(guild)
await setupBranding(guild)

await moduleManager.refreshCommands()

Expand Down
3 changes: 2 additions & 1 deletion src/util/branding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export let branding: Required<BrandingConfig> = {
...config.branding
}

export function setupBranding(guild: Guild) {
export async function setupBranding(guild: Guild) {
guild = await guild.fetch()
logger.debug(`Setting up branding with guild ${guild.name} and ${guild.iconURL()}`)
branding = {
...{
Expand Down

0 comments on commit 4c2028a

Please sign in to comment.