mirror of
				https://github.com/keanuplayz/TravBot-v3.git
				synced 2024-08-15 02:33:12 +00:00 
			
		
		
		
	Merge pull request #43 from EL20202/master
Make .eco daily's cooldown use the new Discord timestamps
This commit is contained in:
		
						commit
						e86abbef3e
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -32,10 +32,9 @@ export const DailyCommand = new NamedCommand({ | |||
|                 send({ | ||||
|                     embed: { | ||||
|                         title: "Daily Reward", | ||||
|                         description: `It's too soon to pick up your daily Mons. You have about ${( | ||||
|                             (user.lastReceived + 79200000 - now) / | ||||
|                             3600000 | ||||
|                         ).toFixed(1)} hours to go.`,
 | ||||
|                         description: `It's too soon to pick up your daily Mons. Try again at <t:${Math.floor( | ||||
|                             (user.lastReceived + 79200000) / 1000 | ||||
|                         )}:t>.`,
 | ||||
|                         color: ECO_EMBED_COLOR | ||||
|                     } | ||||
|                 }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue