Skip to content

[Bug]: Command logging doesn't work without a bot icon #850

@Dominiola

Description

@Dominiola

Bug description

If the Discord bot you're running Lavamusic with doesn't have an app icon, then the command logging doesn't work, throwing an exception each time.

The commands are being logged properly only after setting an app icon in the Discord Developer Portal.

Steps to reproduce

  1. Set no app icon for your Discord bot
  2. Set LOG_COMMANDS_ID="<some channel id>"
  3. Start Lavamusic
  4. Commands will not be logged and Lavamusic logs show errors

Operating System

Ubuntu 24.04.3 LTS

Node.js version

v24.3.0

java version

No response

Application/Library version

v4.7.0

Error logs or screenshots

[1/30/2026] [1:48:14 PM] [Lavamusic] › ❌  ERROR     Uncaught Exception thrown: CombinedPropertyError (1)
  Received one or more errors

  input.iconURL
  | CombinedError (2)
  |   Received one or more errors
  | 
  |   1 ValidationError > s.nullish()
  |   |   Expected undefined or null
  |   | 
  |   |   Received:
  |   |   | ''
  | 
  |   2 ExpectedConstraintError > s.string().url()
  |   |   Invalid URL
  |   | 
  |   |   Expected: expected to match a URL
  |   | 
  |   |   Received:
  |   |   | ''

    at handleIgnoreStrategy (/app/dist/chunks/ne6nyvc2.js:99:5857)
    at parse (/app/dist/chunks/ne6nyvc2.js:72:2215)
    at setAuthor (/app/dist/chunks/ne6nyvc2.js:109:22956)
    at run (/app/dist/events/player/PlayerMuteChange.js:113:956)
    at processTicksAndRejections (native:7:39)

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions