utilities.linvite: actually call getTime
This commit is contained in:
		
							parent
							
								
									de999f1858
								
							
						
					
					
						commit
						86a7e197a8
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -338,7 +338,9 @@ lookupinvite.callback = async function (msg, line) {
 | 
			
		|||
          value:
 | 
			
		||||
            invite.expires_at == null
 | 
			
		||||
              ? "Never"
 | 
			
		||||
              : `<t:${Math.floor(new Date(invite.expires_at).getTime / 1000)}>`,
 | 
			
		||||
              : `<t:${Math.floor(
 | 
			
		||||
                  new Date(invite.expires_at).getTime() / 1000
 | 
			
		||||
                )}>`,
 | 
			
		||||
          inline: true,
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue