jagrosh / jagrosh/MusicBot

[Bug Report] Playlist make with illegal characters on Windows 10

Open
#1,272 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

Bug Description

Executing playlist make command with one of these characters in playlistname: \ / : * ? " < > | displays nothing
and throws an exception in the console.
image

Steps to Reproduce
  1. !playlist make "i
Expected Result

Bot displays a warning message that a playlist cannot be created or creates the playlist.

Debug Output
System Properties:
  java.version = 17.0.4.1
  java.vm.name = OpenJDK 64-Bit Server VM
  java.vm.specification.version = 17
  java.runtime.name = OpenJDK Runtime Environment
  java.runtime.version = 17.0.4.1+1
  java.specification.version = 17
  os.arch = amd64
  os.name = Windows 10

JMusicBot Information:
  Version = 0.3.8
  Owner = 689431450508066911
  Prefix = !
  AltPrefix = null
  MaxSeconds = 0
  NPImages = false
  SongInStatus = false
  StayInChannel = false
  UseEval = false
  UpdateAlerts = true

Dependency Information:
  JDA Version = 4.4.0_352
  JDA-Utilities Version = 3.0.5
  Lavaplayer Version = 1.3.78

Runtime Information:
  Total Memory = 37
  Used Memory = 14

Discord Information:
  ID = 1029868760045207602
  Guilds = 2
  Users = 4
Additional Info

No response

Checklist

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the playlist make command with an illegal character on Windows 10, then trace the command handling and exception output. Done means the bot either creates a valid playlist or displays a warning instead of throwing an unhandled exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.