Browse Source

Make some guild log messages a bit more informative

Gary Kramlich 3 năm trước cách đây
mục cha
commit
a56864f924
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      bridge/user.go
  2. 1 1
      database/guildquery.go

+ 1 - 1
bridge/user.go

@@ -389,7 +389,7 @@ func (u *User) bridgeMessage(guildID string) bool {
 		}
 		}
 	}
 	}
 
 
-	u.log.Debugfln("ignoring message for unbridged guild %s", guildID)
+	u.log.Debugfln("ignoring message for non-bridged guild %s-%s", u.ID, guildID)
 
 
 	return false
 	return false
 }
 }

+ 1 - 1
database/guildquery.go

@@ -59,7 +59,7 @@ func (gq *GuildQuery) Prune(discordID string, guilds []string) {
 		return
 		return
 	}
 	}
 
 
-	gq.log.Debugfln("prunning guilds not in %#v for %s", guilds, discordID)
+	gq.log.Debugfln("prunning guilds for %s", discordID)
 
 
 	// Build the in query
 	// Build the in query
 	inQuery := "$2"
 	inQuery := "$2"