fix timestamps
This commit is contained in:
		
							parent
							
								
									7fa6c35a31
								
							
						
					
					
						commit
						20778e93ca
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -477,6 +477,7 @@ func ProcessMessage(msg discord.Message, options MessageOptions) []string {
 | 
			
		|||
        if i == 0 {
 | 
			
		||||
          options.Reply = msg.ReferencedMessage
 | 
			
		||||
        }
 | 
			
		||||
        options.Timestamp = time.Time(msg.Timestamp)
 | 
			
		||||
        options.IsMention = isPing
 | 
			
		||||
        options.IsDM = isDM
 | 
			
		||||
        options.IsJoin = msg.Type == discord.GuildMemberJoinMessage
 | 
			
		||||
| 
						 | 
				
			
			@ -497,6 +498,7 @@ func ProcessMessage(msg discord.Message, options MessageOptions) []string {
 | 
			
		|||
      options.Attachments = msg.Attachments
 | 
			
		||||
      options.Stickers = msg.Stickers
 | 
			
		||||
      options.Reply = msg.ReferencedMessage
 | 
			
		||||
      options.Timestamp = time.Time(msg.Timestamp)
 | 
			
		||||
      options.IsMention = isPing
 | 
			
		||||
      options.IsDM = isDM
 | 
			
		||||
      options.IsJoin = msg.Type == discord.GuildMemberJoinMessage
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue