logging: nickname removal special case guh
This commit is contained in:
		
							parent
							
								
									34135ec526
								
							
						
					
					
						commit
						4c14f96acd
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -433,6 +433,13 @@ events.add("guildAuditLogEntryCreate", "logging", async function (entry) {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        if (before.nick != null && after.nick == null) {
 | 
				
			||||||
 | 
					          fields.push({
 | 
				
			||||||
 | 
					            name: "Nickname",
 | 
				
			||||||
 | 
					            value: formatChange(before.nick, after.nick),
 | 
				
			||||||
 | 
					            inline: true,
 | 
				
			||||||
 | 
					          });
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let verb = "updated";
 | 
					        let verb = "updated";
 | 
				
			||||||
        if (after.bypasses_verification) {
 | 
					        if (after.bypasses_verification) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue