File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/commands/Administration Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ const Rollback: Command<Message> = {
5858 } ;
5959 } ) ;
6060
61- createPagedEmbed ( content , message , null , embed ) ;
61+ createPagedEmbed ( content , message , undefined , embed ) ;
6262 } else {
6363 // specific save provided
64- let save ;
64+ let save : fs . Stats ;
6565 try {
6666 save = fs . statSync (
6767 `${ client . config . serverpath } /${ server . path } /saves/${ args [ 1 ] } .zip`
@@ -73,7 +73,7 @@ const Rollback: Command<Message> = {
7373 message ,
7474 `Are you sure you want to reset the save to \`${
7575 args [ 1 ]
76- } \` from ${ new Date ( save . mtime ) . toISOString ( ) } ?`
76+ } \` from <t: ${ Math . round ( save . mtime . valueOf ( ) / 1000 ) } > ?`
7777 ) ;
7878 if ( ! confirm ) return message . channel . send ( "Rollback cancelled" ) ;
7979
You can’t perform that action at this time.
0 commit comments