[X] I followed the instructions above before opening this issue
Discord Version
163658
Discord Release Channel
stable
BetterDiscord Version
1.0.9008
Plugin Version
0.13.2
Expected behavior
Display the code snippet correctly
Actual behavior
In the code snippet for the text part of the clock the code isn't displayed correctly. The problem is that you need to escape the ` with a backslash ().
\ eval let fmt=t=>(t<10?'0':'')+t;let d=new Date();`${fmt(d.getHours())}:${fmt(d.getMinutes())}:${fmt(d.getSeconds())}` \
It would look like this:
eval let fmt=t=>(t<10?'0':'')+t;let d=new Date();`${fmt(d.getHours())}:${fmt(d.getMinutes())}:${fmt(d.getSeconds())}`
Notice taken
Discord Version
163658
Discord Release Channel
stable
BetterDiscord Version
1.0.9008
Plugin Version
0.13.2
Expected behavior
Display the code snippet correctly
Actual behavior
In the code snippet for the text part of the clock the code isn't displayed correctly. The problem is that you need to escape the ` with a backslash ().
\
eval let fmt=t=>(t<10?'0':'')+t;let d=new Date();`${fmt(d.getHours())}:${fmt(d.getMinutes())}:${fmt(d.getSeconds())}` \
It would look like this:
eval let fmt=t=>(t<10?'0':'')+t;let d=new Date();`${fmt(d.getHours())}:${fmt(d.getMinutes())}:${fmt(d.getSeconds())}`