File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/java/de/kittybot/kittybot/modules Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 30
30
public class MusicModule extends Module implements Serializable {
31
31
32
32
public static final Pattern URL_PATTERN = Pattern .compile ("^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]?" );
33
- public static final Pattern SPOTIFY_URL_PATTERN = Pattern .compile ("^(https?://)?(www\\ .)?open\\ .spotify\\ .com/(user/[a-zA-Z0-9-_]+/)?(?<type>track|album|playlist)/(?<identifier>[a-zA-Z0-9-_]+)?.+ " );
33
+ public static final Pattern SPOTIFY_URL_PATTERN = Pattern .compile ("^(https?://)?(www\\ .)?open\\ .spotify\\ .com/(user/[a-zA-Z0-9-_]+/)?(?<type>track|album|playlist)/(?<identifier>[a-zA-Z0-9-_]+)" );
34
34
35
35
private Map <Long , MusicManager > musicPlayers ;
36
36
You can’t perform that action at this time.
0 commit comments