I'm a tard
This commit is contained in:
parent
85538e5957
commit
17ad535b3c
@ -139,13 +139,13 @@ func findEmotes(dir string, em common.EmotesMap) (common.EmotesMap, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, file := range emoteJPGs {
|
for _, file := range emoteJPGs {
|
||||||
gif := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
|
jpg := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
|
||||||
//common.LogDebugf("Emote JPG: %s", jpg)
|
//common.LogDebugf("Emote JPG: %s", jpg)
|
||||||
em = em.Add(jpg)
|
em = em.Add(jpg)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, file := range emoteSVGs {
|
for _, file := range emoteSVGs {
|
||||||
gif := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
|
svg := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
|
||||||
//common.LogDebugf("Emote SVG: %s", svg)
|
//common.LogDebugf("Emote SVG: %s", svg)
|
||||||
em = em.Add(svg)
|
em = em.Add(svg)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user