You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2022. It is now read-only.
TypeError: Cannot read property 'replace' of undefined
at evalTemplate (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/util.js:3:34)
at formatTopic (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/jcevents.js:31:12)
at Timeout.setTimeout (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/jcevents.js:62:14)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)
`
The text was updated successfully, but these errors were encountered:
You need to keep updating your config when you update Justcord to ensure you include all of the new values. This particular error is caused by not specifying the template for chat the Discord topic updater (formatting.gameToDiscord.topic in config.json).
I'll work on setting default values to the config later on, and hopefully once I've finalised 1.0 the config shouldn't change as frequently.
I updated to the latest version but on server start, I get this error:
JC3MP SERVER/packages/justcord-3-master/util.js:3 return eval(
`${template.replace(//g, '\\
')}``);^
TypeError: Cannot read property 'replace' of undefined
at evalTemplate (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/util.js:3:34)
at formatTopic (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/jcevents.js:31:12)
at Timeout.setTimeout (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/jcevents.js:62:14)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)
`
The text was updated successfully, but these errors were encountered: