File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ module.exports = {
9494
9595 meta : {
9696 version : "4.0.0" ,
97- modVersion : "1.0.0 " ,
97+ modVersion : "1.0.1 " ,
9898 preciseCheck : true ,
9999 author : "Shadow" ,
100100 help : "https://dc.dbm-poland.site" ,
@@ -965,9 +965,11 @@ module.exports = {
965965 let embeds = [ ] ;
966966 let embedFiles = [ ] ;
967967 for ( const e of data . embeds ) {
968- const timestamp = e . useTimestamp
969- ? parseInt ( this . evalMessage ( e . timestamp , cache ) , 10 ) || new Date ( )
970- : null ;
968+ let timestamp ;
969+ if ( e . useTimestamp ) {
970+ timestamp =
971+ this . evalMessage ( e . timestamp , cache ) || Date . now ( ) . toString ( ) ;
972+ }
971973 const fields = [ ] ;
972974 for ( const f of e . fields ) {
973975 const field = this . generateEmbedField (
@@ -1463,6 +1465,7 @@ module.exports = {
14631465 const varName2 = this . evalMessage ( data . varName2 , cache ) ;
14641466 const storage = parseInt ( data . storage , 10 ) ;
14651467 this . storeValue ( resultMsg || message , storage , varName2 , cache ) ;
1468+ console . log ( resultMsg ) ;
14661469 } catch ( err ) {
14671470 this . displayError ( data , cache , err ) ;
14681471 }
You can’t perform that action at this time.
0 commit comments