File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -210,11 +210,11 @@ export class RepModule extends Module {
210
210
'rolling-hour' : [
211
211
'Within the Last Hour' ,
212
212
Date . now ( ) - 60 * 60 * 1000 ,
213
- ] as const ,
213
+ ] ,
214
214
'rolling-day' : [
215
215
'Within the Last 24 Hours' ,
216
216
Date . now ( ) - 24 * 60 * 60 * 1000 ,
217
- ] as const ,
217
+ ] ,
218
218
'rolling-month' : [
219
219
'Within the Last 30 Days' ,
220
220
Date . now ( ) - 30 * 24 * 60 * 60 * 1000 ,
@@ -230,14 +230,14 @@ export class RepModule extends Module {
230
230
new Date ( ) . getMonth ( ) ,
231
231
new Date ( ) . getDate ( ) ,
232
232
) ,
233
- ] as const ,
233
+ ] ,
234
234
month : [
235
235
'This Month' ,
236
236
+ new Date ( new Date ( ) . getFullYear ( ) , new Date ( ) . getMonth ( ) ) ,
237
237
] as const ,
238
- year : [ 'This Year' , + new Date ( new Date ( ) . getFullYear ( ) ) ] as const ,
239
- all : [ 'All-Time' , 0 ] as const ,
240
- } ;
238
+ year : [ 'This Year' , + new Date ( new Date ( ) . getFullYear ( ) ) ] ,
239
+ all : [ 'All-Time' , 0 ] ,
240
+ } as const ;
241
241
if ( ! ( period in periods ) )
242
242
return await sendWithMessageOwnership (
243
243
msg ,
You can’t perform that action at this time.
0 commit comments